mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
npm: move 'npm install -g' to the top
This commit is contained in:
parent
7692a0d13a
commit
f785b8d431
@ -3,14 +3,14 @@
|
||||
> JavaScript and Node.js package manager.
|
||||
> Manage Node.js projects and their module dependencies.
|
||||
|
||||
- Download all dependencies referenced in package.json:
|
||||
|
||||
`npm install`
|
||||
|
||||
- Download and install a module globally:
|
||||
|
||||
`npm install -g {{module_name}}`
|
||||
|
||||
- Download all dependencies referenced in package.json:
|
||||
|
||||
`npm install`
|
||||
|
||||
- Download a given dependency, and add it to the package.json:
|
||||
|
||||
`npm install {{module_name}}@{{version}} --save`
|
||||
|
Loading…
Reference in New Issue
Block a user