Docs

Install it, learn the keys, and see how the boxes fit together.

Install

Install is the published binary; development is a build from a checkout. The features are the same in both, on every platform: only the shell the Terminal tab runs and the installer differ.

macOS and Linux

One command. It downloads the release binary for your OS and architecture into ~/.local/bin. Add --with-zsh to put that folder on PATH.

curl -fsSL https://raw.githubusercontent.com/StarkDroid/Bento-Terminal/main/scripts/install.sh | sh

Windows

Run this in Windows Terminal. It downloads bento.exe into %LOCALAPPDATA%\bento, adds that folder to your user PATH, and checks that the binary runs. Open a new Windows Terminal and type bento.

irm https://raw.githubusercontent.com/StarkDroid/Bento-Terminal/main/scripts/install.ps1 | iex

Develop

macOS and Linux:

go test ./...
make build
./bento
sh scripts/install.sh --from-source

Windows, in Windows Terminal:

go test ./...
go build -o bento.exe ./cmd/bento
.\bento.exe
.\scripts\install.ps1 -FromSource

go run ./cmd/bento is the quickest loop anywhere: it compiles to a temp directory, so PATH and the checkout stay untouched. --from-source and -FromSource install the checkout itself, which is how a branch is tried before a release exists. go install ./cmd/bento also works, but writes to go env GOPATH's bin, which may not be on PATH.

Options

  • --with-zsh adds the PATH export and a bento function to ~/.zshrc, without touching your prompt.
  • --no-zsh is the default: the binary only.
  • --from-source on macOS and Linux, -FromSource on Windows: build the checkout instead of downloading a release.
  • BENTO_INSTALL_DIR changes the install directory; on Windows, so does -InstallDir.
  • -NoPath installs bento.exe without editing your user PATH.
  • BENTO_REPO points the installer at a fork; BENTO_REPO_URL changes the clone URL the source build uses.