diff options
author | Chris Rebert <github@chrisrebert.com> | 2015-12-11 15:11:16 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2016-01-07 03:35:12 +0300 |
commit | 7ba629a2ad3eaf736529e053b533cabe3a0d7123 (patch) | |
tree | ad99f5d7a9ce886376d4853429f6624235d8c40b | |
parent | bd11b2582437becc7376e1ef35f405512596b970 (diff) |
doc: Clarify that default install ver is latest
That is, that `npm install foo` ≡
`npm install foo@latest` by default
PR-URL: https://github.com/npm/npm/pull/10790
Credit: @cvrebert
-rw-r--r-- | doc/cli/npm-install.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/cli/npm-install.md b/doc/cli/npm-install.md index 000ff3bd4..e906f91b6 100644 --- a/doc/cli/npm-install.md +++ b/doc/cli/npm-install.md @@ -78,7 +78,7 @@ after packing it up into a tarball (b). * `npm install [<@scope>/]<name> [-S|--save|-D|--save-dev|-O|--save-optional]`: Do a `<name>@<tag>` install, where `<tag>` is the "tag" config. (See - `npm-config(7)`.) + `npm-config(7)`. The config's default value is `latest`.) In most cases, this will install the latest version of the module published on npm. |