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:
authorThom Blake <tblake@brightroll.com>2014-09-18 05:02:13 +0400
committerThom Blake <tblake@brightroll.com>2014-09-18 05:07:48 +0400
commit8fe008181665519c2ac201ee432a3ece9798c31f (patch)
tree8edf337fc14a26e26af8bb9c510c9962cddcdeef /doc
parentb706d637d5965dbf8f7ce07dc5c4bc80887f30d8 (diff)
Update docs to recommend install rather than update
Close #5903
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/npm-faq.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/misc/npm-faq.md b/doc/misc/npm-faq.md
index 4dca3cd71..72891271f 100644
--- a/doc/misc/npm-faq.md
+++ b/doc/misc/npm-faq.md
@@ -135,7 +135,7 @@ Arguments are greps. `npm search jsdom` shows jsdom packages.
## How do I update npm?
- npm update npm -g
+ npm install npm -g
You can also update all outdated local packages by doing `npm update` without
any arguments, or global packages by doing `npm update -g`.