Skip to main content

Command Palette

Search for a command to run...

Updating Node packages

keeping your developer systems and dependencies fresh

Published
1 min readView as Markdown
Updating Node packages

To keep our developer systems and dependencies fresh, we can use the following essential commands:

Node

Install n just once:

$ npm install -g n

When node launches an update just run:

$ n latest

NPM

When NPM launches an update just run:

$ npm install -g npm@latest

Any other package

In general, just run the install script to get the latest version:

$ npm install [packagename]

Setup

Part 3 of 3

A beginner's guide to web development (workplace setup and general overviews)

Start from the beginning

Workspace: Visual Code setup

initializing the space where you will edit your web app code