diff --git a/README.md b/README.md index 6d1d728941..d0145e2b76 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,13 @@ Vite+ is fully open-source under the MIT license. Install Vite+ globally as `vp`: -For Linux or macOS: +For macOS (Homebrew): + +```bash +brew install vite-plus +``` + +For macOS / Linux: ```bash curl -fsSL https://vite.plus | bash diff --git a/docs/.vitepress/theme/components/home/InstallCommand.vue b/docs/.vitepress/theme/components/home/InstallCommand.vue index 9773e94115..c1be9fcf5f 100644 --- a/docs/.vitepress/theme/components/home/InstallCommand.vue +++ b/docs/.vitepress/theme/components/home/InstallCommand.vue @@ -9,6 +9,11 @@ type CommandCard = { }; const commandCards: CommandCard[] = [ + { + id: 'macos-homebrew', + label: 'macOS (Homebrew)', + command: 'brew install vite-plus', + }, { id: 'unix', label: 'macOS / Linux', diff --git a/docs/guide/index.md b/docs/guide/index.md index 5f50a38883..18c0171422 100644 --- a/docs/guide/index.md +++ b/docs/guide/index.md @@ -6,6 +6,12 @@ Vite+ ships in two parts: `vp`, the global command-line tool, and `vite-plus`, t ## Install `vp` +### macOS (Homebrew) + +```bash +brew install vite-plus +``` + ### macOS / Linux ```bash diff --git a/packages/cli/README.md b/packages/cli/README.md index e5b23b0441..c69b399b72 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -26,7 +26,13 @@ Vite+ is fully open-source under the MIT license. Install Vite+ globally as `vp`: -For Linux or macOS: +For macOS (Homebrew): + +```bash +brew install vite-plus +``` + +For macOS / Linux: ```bash curl -fsSL https://vite.plus | bash