Installation
This guide covers how to install the Interfold CLI and get your development environment set up.
Prerequisites
Before installing Interfold, make sure you have the following dependency installed:
Quick Install (Recommended)
The easiest way to install the Interfold 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
Interfold CLI.
Using enclaveup
Once you have enclaveup installed, you can manage your Interfold CLI installation:
Install the Interfold 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 Interfold CLI. See
enclaveup --help for more options.
Update the Enclave CLI
# Update to the latest version
enclaveup update
# Update system-wide installation
enclaveup update --systemUninstall
# Remove the Enclave CLI
enclaveup uninstall
# Remove system-wide installation
enclaveup uninstall --systemManual Installation
If you prefer to install manually:
- Visit the releases page (opens in a new tab)
- Download the appropriate release archive 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 Interfold CLI is working correctly:
enclave --helpYou should see the help information for the Interfold CLI.
Next Steps
Once you have the Interfold CLI installed, you're ready to: