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 *

Подписаться на рассылку

Будьте в курсе - получайте последние статьи на свой email

Ваша подписка успешно оформлена

Pin It on Pinterest

Share This