Skip to content
Merged
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
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,21 @@ A CLI that enables developers to run their code locally within the context of a
curl -fsSL https://raw.githubusercontent.com/vercel/bridge/main/install-edge.sh | sh
```

This downloads the latest edge binary for your platform (macOS/Linux, amd64/arm64) and installs it to `/usr/local/bin`.
This downloads the latest edge binary for your platform (macOS/Linux, amd64/arm64) and installs it to `~/.local/bin/bridge`. No sudo required.

Make sure `~/.local/bin` is on your `PATH`:

```sh
export PATH="$HOME/.local/bin:$PATH"
```

Add that line to `~/.zshrc`, `~/.bashrc`, or your shell's config to make it permanent.

Override the destination by setting `BRIDGE_INSTALL_DIR` before running the installer:

```sh
BRIDGE_INSTALL_DIR=/usr/local/bin curl -fsSL .../install-edge.sh | sh
```

### Update

Expand Down
284 changes: 256 additions & 28 deletions api/go/bridge/v1/command.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading