Installation
Stash CLI is available for Windows, macOS, and Linux. Choose the option that best fits your platform.
Windows
Download the installer from the Download page and run it. The installer will add stash to your PATH automatically.
- Download
stash-cli-setup-windows-v0.2.4.exe - Run the installer
- Open a new terminal and verify:
stash --version
Portable: Download the Windows zip, extract it, and add the folder to your PATH manually. To update later, run stash update on any platform.
Linux & macOS (recommended)
One command detects your system and architecture, downloads the latest release, verifies its checksum and installs stash to ~/.local/bin. It needs no sudo and does not require unzip.
curl -fsSL https://github.com/bushcoding/stash/releases/latest/download/install.sh | sh
If the installer says ~/.local/bin is not in your PATH, run the line it prints (it adds the folder to ~/.bashrc or ~/.zshrc) and open a new terminal. To install system-wide instead (asks for sudo), set STASH_INSTALL_DIR:
curl -fsSL https://github.com/bushcoding/stash/releases/latest/download/install.sh | STASH_INSTALL_DIR=/usr/local/bin sh
Linux & macOS (manual)
Download the zip for your system from the Download page, then run the commands below from the folder where you saved it. Replace the file name with the one you downloaded: linux_amd64 (Linux x64), linux_arm64 (Linux ARM), darwin_arm64 (Apple Silicon) or darwin_amd64 (Intel Mac).
unzip stash_v0.2.4_linux_amd64.zip chmod +x stash mkdir -p ~/.local/bin && mv stash ~/.local/bin/ stash --version
- unzip: command not found (common on Ubuntu/Debian): install it with
sudo apt install unzip, or use the one-line installer above. - Permission denied when running
stash: the file is not executable yet; runchmod +x stash. - macOS says the app "cannot be opened" (downloaded with a browser): run
xattr -d com.apple.quarantine ~/.local/bin/stash. The one-line installer avoids this. - Installing into a folder you own (like
~/.local/bin) letsstash updatereplace the binary later without sudo. If you installed to/usr/local/bin, runsudo stash update.
Next Steps: After installing, run stash login to authenticate, then explore the Commands Reference to start managing your secrets.