Results: 1580
Notes
  • Newest first
  • Oldest first
  • Newest first(All)
  • Oldest first(All)
Installs all the packages listed in
dependencies
key inside
package.json
file
npm install
by Valeri Tandilashvili
4 years ago
0
NPM
NPM Crash Course
0
Default is
true
from NPM version 5.*
by Valeri Tandilashvili
4 years ago
0
NPM
NPM Crash Course
0
We can install more than one modules with one command
npm install moment gulp
by Valeri Tandilashvili
4 years ago
0
NPM
NPM Crash Course
0
They will not be listed in
dependencies
but they will get put in their own object called
devDependencies
npm install --save-dev gulp gulp-sass
by Valeri Tandilashvili
4 years ago
0
NPM
NPM Crash Course
0
NPM installs only modules listed inside
dependencies
key if we run the command with
--production
flag
npm install --production
NPM installs all modules listed inside
dependencies
and
devDependencies
npm install
by Valeri Tandilashvili
4 years ago
0
NPM
NPM Crash Course
0
Removes
gulp-sass
module
npm uninstall gulp-sass
npm un gulp-sass
npm remove gulp-sass
npm rm gulp-sass
All the above commands do the same thing (uninstalling the module)
by Valeri Tandilashvili
4 years ago
0
NPM
NPM Crash Course
0
Installs exactly the specified version of the module
npm install moment@2.25.2
Installs the specified module with the latest
patch
npm install moment@2.25
Installs the specified module with the latest
minor
and
patch
versions
npm install moment@1
Installs the latest version of the module (with latest
major
,
minor
and
patch
versions)
npm install moment
by Valeri Tandilashvili
4 years ago
0
NPM
NPM Crash Course
0
Updates the package to the current
minor
and
patch
versions but do not update to the current
major
version
npm update moment
Before update
""dependencies": {
    "moment": "^1.6.2"
}
After update
"dependencies": {
    "moment": "^1.7.2"
}
The package updated to 1.7.2 even though the current
major
version is
2
by Valeri Tandilashvili
4 years ago
0
NPM
NPM Crash Course
0
Only
major
version will stick to
1
but
minor
and
patch
will be the latest versions
"dependencies": {
    "moment": "^1.6.2"
}
Only updates
patch
but
major
and
minor
will be the specified versions
"dependencies": {
    "moment": "~1.6.2"
}
Exactly the specified version
1.6.2
will be installed
"dependencies": {
    "moment": "1.6.2"
}
The latest version of the package will be installed
"dependencies": {
    "moment": "*"
}
by Valeri Tandilashvili
4 years ago
0
NPM
NPM Crash Course
0
Installs the package globally
npm install nodemon -g  /  npm install -g nodemon
by Valeri Tandilashvili
4 years ago
0
NPM
NPM Crash Course
0
Results: 1580