Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>NPM Package UpdaterNew to Visual Studio Code? Get it now.
NPM Package Updater

NPM Package Updater

Garth Toland

|
3,665 installs
| (0) | Free
Commands for updating your project's NPM dependencies.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

NPM Package Updater

VS Code Marketplace Version VS Code Marketplace Installs

Buy Me A Coffee


NPM Package Updater commands list

NPM Package Updater automatically checks for either the most up-to-date latest version of each dependency in your package.json file, or the latest minor or patch versions (both dependencies and devDependencies).

The extension automatically creates a package.json.bak file before updating so changes can be recovered even when the project is not under version control.

Be sure to reinstall your packages once complete by running npm install or yarn install in your terminal.


Table of Contents

  • Features
    • Update Latest Majors
    • Update Latest Minors
    • Update Latest Patches
  • Demo
  • Settings
    • Indentation size & type
    • Registry
    • Package file backup
  • Useful links

Features

The following commands can be accessed from the VSCode Command Palette.

Update Latest Majors

Run this command to get the most up-to-date version of all your packages.

Shortcuts:

  • Windows/Linux: ctrl+alt+u
  • macOS: ctrl+option+u

Update Latest Minors

Run this command to get the most up-to-date minor and patch versions of all of your packages.

Shortcuts:

  • Windows/Linux: ctrl+alt+m
  • macOS: ctrl+option+m

Update Latest Patches

Run this command to get the most up-to-date patch (non-breaking) versions of all of your packages.

Shortcuts:

  • Windows/Linux: ctrl+alt+p
  • macOS: ctrl+option+p

Settings

Indentation size & type

This extension allows for customisable indentation types of your package.json. Whether you prefer tabs or spaces it's your decision 😉 Look for the Npm Package Updater: Indentation Size & Npm Package Updater: Indentation Type settings.

Registry

Update the registry used for fetching package details. You can use a registry different to the standard NPM one (which is set by default). For example if you're working for an organisation that has it's own registry. Look for the Npm Package Updater: Registry setting.

Package file backup

Npm Package Updater: Create Backup is enabled by default and creates package.json.bak before dependencies are updated. Disable the setting if your project is already protected by version control and you do not want backup files.

Useful links

Semantic Versioning explanation.

License

The source code is available under the MIT License. The project icon and NPM Package Updater branding are excluded from that license and may not be copied, modified, or redistributed under the MIT terms.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft