Installation
Quick install
Section titled “Quick install”curl -fsSL https://envsh.dev/install.sh | shThis detects your OS and architecture, downloads the latest release, and installs to /usr/local/bin.
Specific version
Section titled “Specific version”ENVSH_VERSION=v0.2.0 curl -fsSL https://envsh.dev/install.sh | shBuild from source
Section titled “Build from source”git clone https://github.com/envshq/envshcd envshmake build# Binary at ./bin/envshsudo mv ./bin/envsh /usr/local/bin/Requires Go 1.22+.
Verify
Section titled “Verify”envsh version# envsh v0.2.0 (or "envsh dev" for source builds)Supported platforms
Section titled “Supported platforms”| OS | Architecture | Supported |
|---|---|---|
| macOS | Apple Silicon (arm64) | Yes |
| macOS | Intel (amd64) | Yes |
| Linux | amd64 | Yes |
| Linux | arm64 | Yes |
| Windows | — | Via WSL |
Prerequisites
Section titled “Prerequisites”You need an Ed25519 SSH key. If you don’t have one:
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.