Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions docs/.vitepress/theme/components/home/InstallCommand.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ type CommandCard = {
};

const commandCards: CommandCard[] = [
{
id: 'macos-homebrew',
label: 'macOS (Homebrew)',
command: 'brew install vite-plus',
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The priority of Homebrew installation is to be placed last. Once the winget and apt methods are supported, we need to unify these distribution channels together.

},
{
id: 'unix',
label: 'macOS / Linux',
Expand Down
6 changes: 6 additions & 0 deletions docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading