Skip to content

Expand npm-shrinkwrap.md with npm install commands - #9899

Open
twitschvimeo-gif wants to merge 1 commit into
npm:release/v6from
twitschvimeo-gif:patch-1
Open

Expand npm-shrinkwrap.md with npm install commands#9899
twitschvimeo-gif wants to merge 1 commit into
npm:release/v6from
twitschvimeo-gif:patch-1

Conversation

@twitschvimeo-gif

Copy link
Copy Markdown

Added detailed npm install command examples and options.

References

Added detailed npm install command examples and options.
@twitschvimeo-gif
twitschvimeo-gif requested a review from a team as a code owner August 20, 2026 05:51
Copilot AI lite review requested due to automatic review settings August 20, 2026 05:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the npm-shrinkwrap command documentation by adding npm install command examples/options to the npm-shrinkwrap synopsis section.

Changes:

  • Replaced the npm-shrinkwrap synopsis code block with a list of npm install invocation patterns and common options.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +9 to 24
```bashnpm 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 <alias>@npm:<name>
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]
npm shrinkwrap
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants