Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChris Rebert <github@chrisrebert.com>2015-12-11 15:11:16 +0300
committerRebecca Turner <me@re-becca.org>2016-01-07 03:35:12 +0300
commit7ba629a2ad3eaf736529e053b533cabe3a0d7123 (patch)
treead99f5d7a9ce886376d4853429f6624235d8c40b /doc
parentbd11b2582437becc7376e1ef35f405512596b970 (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
Diffstat (limited to 'doc')
-rw-r--r--doc/cli/npm-install.md2
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.