From 0c5e710e1e34793dd7771ae3ea054ce06972c939 Mon Sep 17 00:00:00 2001 From: Liang Mi Date: Mon, 22 Jun 2026 22:22:29 +0800 Subject: [PATCH 1/4] docs: add warning for global installation --- docs/guide/install.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/guide/install.md b/docs/guide/install.md index 3b6fc2c424..291a8c2114 100644 --- a/docs/guide/install.md +++ b/docs/guide/install.md @@ -68,6 +68,14 @@ Use the `-g` flag for installing, updating or removing globally installed packag - `vp update -g [pkg]` updates one global package or all of them - `vp list -g [pkg]` lists global packages +::: warning +These commands do **NOT** interact with the underlying package manager's global installation directory. + +Instead, Vite+ manages its own global packages under `~/.vite-plus/packages`, allowing them to remain available across different Node.js versions. + +As a result, commands such as `vp link` do not affect Vite+'s global packages and will not appear in `vp list -g`. +::: + ## Managing Dependencies Vite+ provides all the familiar package management commands: @@ -109,6 +117,7 @@ Use these commands when you want package-manager-managed tools available outside - `vp uninstall -g typescript` - `vp update -g` - `vp list -g` +- `vp outdated -g` #### Add and Remove From 11c187bec81815678fa03958a118d10b5c6a0e55 Mon Sep 17 00:00:00 2001 From: Liang Mi Date: Mon, 22 Jun 2026 22:22:59 +0800 Subject: [PATCH 2/4] wip --- docs/guide/install.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/guide/install.md b/docs/guide/install.md index 291a8c2114..499e04124c 100644 --- a/docs/guide/install.md +++ b/docs/guide/install.md @@ -67,6 +67,7 @@ Use the `-g` flag for installing, updating or removing globally installed packag - `vp uninstall -g ` removes a global package - `vp update -g [pkg]` updates one global package or all of them - `vp list -g [pkg]` lists global packages +- `vp outdated -g [pkg]` prints outdated packages ::: warning These commands do **NOT** interact with the underlying package manager's global installation directory. From 5ea4a566f7ae8f04dd9d5ebd641540f5e192dbe2 Mon Sep 17 00:00:00 2001 From: Liang Mi Date: Mon, 22 Jun 2026 22:28:37 +0800 Subject: [PATCH 3/4] wip --- docs/guide/install.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/guide/install.md b/docs/guide/install.md index 499e04124c..7772fe9454 100644 --- a/docs/guide/install.md +++ b/docs/guide/install.md @@ -120,6 +120,14 @@ Use these commands when you want package-manager-managed tools available outside - `vp list -g` - `vp outdated -g` +::: warning +These commands do **NOT** interact with the underlying package manager's global installation directory. + +Instead, Vite+ manages its own global packages under `~/.vite-plus/packages`, allowing them to remain available across different Node.js versions. + +As a result, commands such as `vp link` do not affect Vite+'s global packages and will not appear in `vp list -g`. +::: + #### Add and Remove Use `vp add` and `vp remove` for day-to-day dependency edits instead of editing `package.json` by hand. From a4bc49eca4486da2a1ceee2ff540a8c8247c8129 Mon Sep 17 00:00:00 2001 From: Liang Mi Date: Tue, 23 Jun 2026 10:28:08 +0800 Subject: [PATCH 4/4] wip --- docs/guide/install.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/docs/guide/install.md b/docs/guide/install.md index 7772fe9454..499e04124c 100644 --- a/docs/guide/install.md +++ b/docs/guide/install.md @@ -120,14 +120,6 @@ Use these commands when you want package-manager-managed tools available outside - `vp list -g` - `vp outdated -g` -::: warning -These commands do **NOT** interact with the underlying package manager's global installation directory. - -Instead, Vite+ manages its own global packages under `~/.vite-plus/packages`, allowing them to remain available across different Node.js versions. - -As a result, commands such as `vp link` do not affect Vite+'s global packages and will not appear in `vp list -g`. -::: - #### Add and Remove Use `vp add` and `vp remove` for day-to-day dependency edits instead of editing `package.json` by hand.