• Skip to main content
  • Skip to primary sidebar

Ryan McCormick

List and Update Outdated Global Packages in NPM

November 30, 2015 by Ryan 1 Comment

Node is an extremely dynamic platform that is always changing. Packages have frequent updates, and as a personal preference, I like to update my global packages frequently.

I feel comfortable doing this because each individual application I develop defines dependencies and dependency versions in it’s own package.json file. As always, I take zero responsibility and risk for these instructions.

How to list Outdated Global Packages in NPM

To list outdated packages, open your terminal emulator and type:

npm outdated -g --depth=0

You should see a list of packages with the following information: Package Name, Current Version, Wanted Version, Latest Version and Location.

How to Update Outdated Global Packages in NPM

To update your outdated global packages, open your terminal emulator and type:

npm update -g

As always, comment if you get stuck, have any questions or anything else.

Filed Under: Javascript, Node Tagged With: node, update outdated global packages

Reader Interactions

Comments

  1. khfkfg says

    January 25, 2016 at 9:20 am

    Hi there mates, its wonderful post about tutoringand completely explained, keep it up all
    the time.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Recent Posts

  • Force Quit Kill all Chrome Windows MacOS
  • SOLVED: Angular 6 CLI Karma Stuck in Single Run | Karma Stops Running
  • How to Manually Install Java 8 on Ubuntu 18.04 LTS
  • Remove VirtualBox from Ubuntu 16.04 Xenial
  • Clear all Node Modules Folders Recursively Mac/Linux

Recent Comments

  1. KKV on Webstorm adding spaces between imports and braces | JavaScript and TypeScript
  2. jusopi on Clear all Node Modules Folders Recursively Mac/Linux
  3. Qaisar Irfan on Clear all Node Modules Folders Recursively Mac/Linux
  4. mustafa on Remove VirtualBox from Ubuntu 16.04 Xenial
  5. Pourya on How to Manually Install Java 8 on Ubuntu 18.04 LTS

Copyright © 2025 · Magazine Pro on Genesis Framework · WordPress · Log in