Created
November 24, 2021 14:18
-
-
Save PetterRuud/51b872369515e86ddc4710969737985a to your computer and use it in GitHub Desktop.
How to install everything from package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install (with no args, in package dir) | |
npm install [<@scope>/]<name> | |
npm install [<@scope>/]<name>@<tag> | |
npm install [<@scope>/]<name>@<version> | |
npm install [<@scope>/]<name>@<version range> | |
npm install <git-host>:<git-user>/<repo-name> | |
npm install <git repo url> | |
npm install <tarball file> | |
npm install <tarball url> | |
npm install <folder> | |
aliases: npm i, npm add | |
common options: [-P|--save-prod|-D|--save-dev|-O|--save-optional] [-E|--save-exact] [-B|--save-bundle] [--no-save] [--dry-run] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment