Using npm, how do you check if there is a newer version of some the project package?

Experience Level: Mid-level
Tags: npm

Answer

To check if some of your packages is outdated, open a command-line, go to your project folder that contains a file package.json and run the following command:

npm outdated
Related npm job interview questions
npm for beginners
npm for beginners

Are you learning npm? Try our test we designed to help you progress faster.

Test yourself