How to check version of package installed by npm

0 votes

How to get the version of package installed using npm? I need to know the version of few packages for compatibility issue. Tried the following but did not work:

npm -v <package-name>
npm version <package-name>

Feb 5, 2019 in Linux Administration by Faizal
2,923 views

1 answer to this question.

0 votes

These commands are used to check the version of npm, you can't use it to check the version of any package.

To check the version of packages installed using npm, you can run the following command:

npm list

This will print the package name along with the version

answered Feb 5, 2019 by Omkar
• 69,220 points

Related Questions In Linux Administration

0 votes
1 answer
0 votes
1 answer

How to find path of software installed in Linux?

There are multiple ways to find the ...READ MORE

answered May 20, 2019 in Linux Administration by Rishi
8,422 views
0 votes
1 answer

How to check permissions of a file in the Linux system?

Hi@akhtar, If you prefer using the command line, ...READ MORE

answered Aug 13, 2020 in Linux Administration by MD
• 95,460 points
1,778 views
0 votes
1 answer

How to check permissions of a folder in the Linux system?

Hi@akhtar, You can use ls command to check ...READ MORE

answered Aug 13, 2020 in Linux Administration by MD
• 95,460 points
9,821 views
0 votes
1 answer

how to safely deploy npm install without it causing inconsistencies?

The recent versions on npm generates a ...READ MORE

answered Apr 11, 2018 in DevOps on Cloud by DareDev
• 6,890 points
1,005 views
0 votes
1 answer

Migrating proxy npm repo in nexus 3

I don't think you can achieve this ...READ MORE

answered Jun 22, 2018 in DevOps Tools by DareDev
• 6,890 points
1,538 views
0 votes
1 answer

Publishing npm publish to nexus group repo

Group cannot be published. I'll suggest you ...READ MORE

answered Jun 22, 2018 in Other DevOps Questions by DareDev
• 6,890 points
3,421 views
0 votes
1 answer

npm hfc@0.6.2 not properly installing

this is harmless, the hfc module should ...READ MORE

answered Jul 24, 2018 in Blockchain by charlie_brown
• 7,720 points
1,100 views
0 votes
1 answer

How to change permissions of folder and files in folder?

The chmod command is used to set/change the permissions ...READ MORE

answered Feb 1, 2019 in Linux Administration by Omkar
• 69,220 points
2,012 views
+2 votes
1 answer

Not able to install npm on Ubuntu

Try installing npm using aptitude: sudo apt install aptitude sudo ...READ MORE

answered Nov 28, 2018 in Linux Administration by Omkar
• 69,220 points
8,302 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP