Texts | Christofer Sandin

Terminal: npm

Terminal: npm

Notice: This is a little "terminal treat" – a short tip rather than a whole article. Enjoy!

Working in the terminal with web development, you’ll likely be running into Node and the Node Package Manager (npm) sooner or later. This is a standardized way to install and utilize JavaScript-based software, and this is a summary of some useful commands.

Packages can be installed globally or per project.

Global packages

Packages

Another way would be to use npm-check-updates (or ncu for short).

References