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 4, 2019 in Linux Administration by Faizal
669 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 4, 2019 by Omkar
• 69,030 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 19, 2019 in Linux Administration by Rishi
1,563 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 in Linux Administration by MD
• 65,160 points
103 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 in Linux Administration by MD
• 65,160 points
101 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,870 points
136 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,870 points
495 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,870 points
1,984 views
0 votes
1 answer

npm hfc@0.6.2 not properly installing

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

answered Jul 23, 2018 in Blockchain by charlie_brown
• 7,780 points
170 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 Jan 31, 2019 in Linux Administration by Omkar
• 69,030 points
129 views
+1 vote
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,030 points
4,101 views