Link Search Menu Expand Document

npm update

Update packages in the current project. More information: https://docs.npmjs.com/cli/commands/npm-update.

  • Update all packages in the current project:

npm update

  • Update a specific package in the current project:

npm update {{package}}

  • Update a package globally:

npm update -g {{package}}

  • Update multiple packages at once:

npm update {{package1 package2 ...}}