Installation
Prerequisites
Section titled “Prerequisites”- Linux (Ubuntu 22.04+, Debian 12+, or similar)
- Octez binaries (
octez-node,octez-client,octez-baker, etc.) — See How to get Octez for installation options including:- Static binaries (easiest)
- Debian/Ubuntu packages
- Building from source
Quick Install (Recommended)
Section titled “Quick Install (Recommended)”Install with a single command:
curl -fsSL https://raw.githubusercontent.com/trilitech/octez-manager/main/install.sh | shThis downloads the latest release and installs it to:
~/.local/bin/when run as a regular user/usr/local/bin/when run as root
Note: If
~/.local/binis not in your PATH, the installer will show instructions to add it.
Custom Installation Directory
Section titled “Custom Installation Directory”Use --prefix to specify a custom location:
curl -fsSL https://raw.githubusercontent.com/trilitech/octez-manager/main/install.sh | sh -s -- --prefix=/opt/binVerify Installation
Section titled “Verify Installation”octez-manager --versionManual Binary Download
Section titled “Manual Binary Download”If you prefer to download manually, get the binary from GitHub Releases:
# Download (replace vX.Y.Z with the latest version)curl -LO https://github.com/trilitech/octez-manager/releases/latest/download/octez-manager-vX.Y.Z-linux-x86_64
# Make executable and move to PATHchmod +x octez-manager-v*-linux-x86_64sudo mv octez-manager-v*-linux-x86_64 /usr/local/bin/octez-manager
# Verifyoctez-manager --versionFrom Source
Section titled “From Source”1. Install OCaml and opam
Section titled “1. Install OCaml and opam”# Ubuntu/Debiansudo apt install opam
# Initialize opamopam initeval $(opam env)
# Install OCaml 5.1opam switch create 5.1.0eval $(opam env)2. Clone and Build
Section titled “2. Clone and Build”git clone https://github.com/trilitech/octez-manager.gitcd octez-manager
# Install dependenciesopam install . --deps-only
# Builddune build
# Install locallydune install3. Verify Installation
Section titled “3. Verify Installation”octez-manager --versionoctez-manager --helpRunning Modes
Section titled “Running Modes”Octez Manager creates systemd services to manage your Tezos infrastructure. How you run it determines where services and data are stored:
User Mode (Recommended for testing)
Section titled “User Mode (Recommended for testing)”Run as a regular user. Creates user-level systemd services (systemctl --user).
octez-manager| Item | Location |
|---|---|
| Services | ~/.config/systemd/user/ |
| Configuration | ~/.config/octez/instances/ |
| Data | ~/.local/share/octez/ |
System Mode (Recommended for production)
Section titled “System Mode (Recommended for production)”Run as root. Creates system-level systemd services with dedicated service users.
sudo octez-manager| Item | Location |
|---|---|
| Services | /etc/systemd/system/ |
| Configuration | /etc/octez/instances/ |
| Data | /var/lib/octez/ |
Note: User mode and system mode are independent. Instances created in one mode are not visible in the other.