Installation
This guide covers how to install the Enclave CLI and get your development environment set up.
Prerequisites
Before installing Enclave, make sure you have the following dependencies:
Quick Install (Recommended)
The easiest way to install the Enclave CLI is using our installer script:
curl -fsSL https://raw.githubusercontent.com/gnosisguild/enclave/main/install | bashOr if you prefer wget:
wget -qO- https://raw.githubusercontent.com/gnosisguild/enclave/main/install | bashThis script will download and install enclaveup, which is the standalone installer for the Enclave
CLI.
Using enclaveup
Once you have enclaveup installed, you can manage your Enclave CLI installation:
Install the Enclave CLI
# Install to ~/.local/bin (default)
enclaveup install
# Install to /usr/local/bin (requires sudo)
enclaveup install --systemRunning enclaveup install will install the latest version of the Enclave CLI. See
enclaveup --help for more options.
Manual Installation
If you prefer to install manually:
- Visit the releases page (opens in a new tab)
- Download the appropriate binary for your platform:
- Linux:
enclave-linux-x86_64.tar.gz - macOS:
enclave-macos-aarch64.tar.gz
- Linux:
- Extract the binary and place it in your PATH (e.g.,
~/.local/binor/usr/local/bin) - Make sure the binary is executable:
chmod +x enclave
Platform Support
| Platform | Architecture | Status |
|---|---|---|
| Linux | x86_64 | ✅ Native binary |
| macOS | Apple Silicon (M1/M2/M3) | ✅ Native binary |
| macOS | Intel | ✅ Via Rosetta 2 |
Note: Intel Macs automatically run Apple Silicon binaries through Rosetta 2 translation.
Building from Source
If you need to build enclave from source:
- Ensure you have Rust installed (using rustup (opens in a new tab))
- Clone the repository
git clone https://github.com/gnosisguild/enclave.git
cd enclave- Build the binary
cargo install --locked --path ./crates/cli --bin enclave -fVerify Installation
After installation, verify that the Enclave CLI is working correctly:
enclave --helpYou should see the help information for the Enclave CLI.
Next Steps
Once you have the Enclave CLI installed, you're ready to: