How Do You Find the JQuery Version from the Command Prompt of a Linux Server?

Problem scenario
You are using Linux, and you want to know what JQuery version is installed. What do you do?

Solution
JQuery is a library to work with Javascript. There are many ways to install JQuery: git, using a .tar.gz file, the YARN CLI, or the npm command.

If it was installed with npm, one way find out the version is to run one of these command:

npm view jquery versions
npm view jquery version
npm view jquery
npm info jquery
npm ls jquery

This solution was partially taken from this external page.

If it was installed with yarn, try one of these commands:

yarn info jquery
yarn list
yarn check jquery

For more information, you can see these postings:

https://nishitvmaheta.medium.com/how-to-install-jquery-ea182b21ce5c

https://unix.stackexchange.com/questions/288291/how-do-i-find-the-version-of-jquery-that-is-installed-on-a-linux-web-server

Leave a comment

Your email address will not be published. Required fields are marked *