Skip to content

Installation

Terminal window
curl -fsSL https://envsh.dev/install.sh | sh

This detects your OS and architecture, downloads the latest release, and installs to /usr/local/bin.

Terminal window
ENVSH_VERSION=v0.2.0 curl -fsSL https://envsh.dev/install.sh | sh
Terminal window
git clone https://github.com/envshq/envsh
cd envsh
make build
# Binary at ./bin/envsh
sudo mv ./bin/envsh /usr/local/bin/

Requires Go 1.22+.

Terminal window
envsh version
# envsh v0.2.0 (or "envsh dev" for source builds)
OSArchitectureSupported
macOSApple Silicon (arm64)Yes
macOSIntel (amd64)Yes
Linuxamd64Yes
Linuxarm64Yes
WindowsVia WSL

You need an Ed25519 SSH key. If you don’t have one:

Terminal window
ssh-keygen -t ed25519 -C "your@email.com"

This creates ~/.ssh/id_ed25519 (private) and ~/.ssh/id_ed25519.pub (public). envsh also supports RSA keys as a fallback.