Node.js. Install packages

Home » Tutorials » JavaScript » Node.js. Install packages
In this tutorial we’ll consider common npm commands (install and uninstall packages), flags and shortened commands versions. Also we’ll install some library packages, which we’ll consider in next lessons.

Code lesson

Install packages

- npm install node-sass
- npm install typescript
- npm install gulp
- npm uninstall <package-name>
  
Flags and shortand

- npm i <package-name> 
- npm install -g <package-name>
- npm install -g <package-name> --save
- npm install -g <package-name> --save-dev
- npm uninstall <package-name> -g

0 Comments

Submit a Comment

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


The reCAPTCHA verification period has expired. Please reload the page.

Pin It on Pinterest

Share This