Install
Prerequisites
- Docker daemon running on the target machine.
- Linux or macOS (Windows is not supported; use WSL2 and follow the Linux path).
- Write access to the install directory — either root or membership in the
dockergroup is required to run Shrine commands against the Docker daemon.
Method 1: install script
The quickest path is the one-liner install script. It detects your OS and architecture, downloads the correct pre-built binary from the latest GitHub release, and places it in /usr/local/bin.
curl -fsSL https://raw.githubusercontent.com/CarlosHPlata/shrine/main/install.sh | shSecurity note: read the script first if you’re cautious — it’s plain shell and downloads from the official GitHub releases API.
Override the install directory:
INSTALL_DIR=~/.local/bin curl -fsSL https://raw.githubusercontent.com/CarlosHPlata/shrine/main/install.sh | shPin to a specific release version:
curl -fsSL https://raw.githubusercontent.com/CarlosHPlata/shrine/main/install.sh | sh -s -- --version v0.1.0Method 2: go install
If you have Go 1.24 or later installed:
go install github.com/CarlosHPlata/shrine@latestThe binary is placed in $(go env GOPATH)/bin. Make sure that directory is on your $PATH.
Method 3: download a release binary
Pre-built archives are available on the GitHub Releases page. Supported platforms:
| OS | Architecture | Archive name |
|---|---|---|
| Linux | x86_64 (amd64) | shrine_linux_amd64.tar.gz |
| Linux | arm64 | shrine_linux_arm64.tar.gz |
| macOS | x86_64 (amd64) | shrine_darwin_amd64.tar.gz |
| macOS | Apple Silicon (arm64) | shrine_darwin_arm64.tar.gz |
Download the archive for your platform, extract it, and place the shrine binary somewhere on your $PATH:
tar -xzf shrine_linux_amd64.tar.gz
sudo mv shrine /usr/local/bin/shrineA checksums.txt (SHA-256) is published alongside each release for verification.
Verify the install
shrine versionExpected output shape:
shrine v0.x.y (commit abc1234, built 2026-05-02)If you see command not found, see the troubleshooting notes below.
Next steps
Continue to Quick Start to deploy your first application.
Troubleshooting
command not foundafter install: the install directory is not on your$PATH. See PATH configuration for instructions on adding a directory to your shell profile.- Docker daemon errors on first run: your user may not be in the
dockergroup, or the Docker daemon may not be running. See Docker access for group membership setup and daemon startup steps.