You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/cli-commands/npm-update.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,9 @@ version that satisfies `^0.4.0` (`>= 0.4.0 <0.5.0`)
122
122
123
123
`npm update -g` will apply the `update` action to each globally installed
124
124
package that is `outdated` -- that is, has a version that is different from
125
-
`latest`.
125
+
`wanted`.
126
+
127
+
Note: Globally installed packages are treated as if they are installed with a caret semver range specified. So if you require to update to `latest` you may need to run `npm install -g [<pkg>...]`
126
128
127
129
NOTE: If a package has been upgraded to a version newer than `latest`, it will
0 commit comments