filmov
tv
NPM Tutorial for Beginners - 1 - Introduction (English)
![preview_player](https://i.ytimg.com/vi/5yNZ3BZiPUY/maxresdefault.jpg)
Показать описание
Here's an introduction to some key concepts and commands related to npm:
Installing Packages: You can use npm to install packages locally or globally. When you install a package locally, it's installed in the node_modules directory of your project. For example:
Local installation: npm install package-name
Global installation: npm install -g package-name
Publishing Packages: If you're developing a reusable package or library, npm allows you to publish your package to the npm registry. You need to create an npm account and use npm publish to publish your package.
npm CLI Commands: Here are some commonly used npm commands:
npm install: Install dependencies.
npm install package-name: Install a specific package.
npm install -g package-name: Install a package globally.
npm uninstall package-name: Uninstall a package.
npm update package-name: Update a package to the latest version.
npm publish: Publish a package to the npm registry.
#nodejs #javascript #coding #node #backend #nodejstutorial #nodejsdevelopment #tutorial #tutorials #programming #nodeprogramming
0:00 Introduction
0:34 What is NPM?
1:58 Example
2:33 NPm Registry