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/guide/installation.md
+29Lines changed: 29 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24,3 +24,32 @@ You can check you have the right version with this command:
24
24
```bash
25
25
vue --version
26
26
```
27
+
28
+
### Upgrading
29
+
30
+
To upgrade the global Vue CLI package, you need to run:
31
+
32
+
```bash
33
+
npm update -g @vue/cli
34
+
35
+
# OR
36
+
yarn global upgrade --latest @vue/cli
37
+
```
38
+
39
+
#### Project Dependencies
40
+
41
+
Upgrade commands shown above apply to the global Vue CLI installation. To upgrade one or more `@vue/cli` related packages (including packages starting with `@vue/cli-plugin-`) inside your project, run `vue upgrade` inside the project directory:
42
+
43
+
```
44
+
Usage: upgrade [options] [plugin-name]
45
+
46
+
(experimental) upgrade vue cli service / plugins
47
+
48
+
Options:
49
+
-t, --to <version> Upgrade <package-name> to a version that is not latest
50
+
-f, --from <version> Skip probing installed plugin, assuming it is upgraded from the designated version
51
+
-r, --registry <url> Use specified npm registry when installing dependencies
52
+
--all Upgrade all plugins
53
+
--next Also check for alpha / beta / rc versions when upgrading
0 commit comments