Skip to content

Installation

  • 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

Install with a single command:

Terminal window
curl -fsSL https://raw.githubusercontent.com/trilitech/octez-manager/main/install.sh | sh

This 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/bin is not in your PATH, the installer will show instructions to add it.

Use --prefix to specify a custom location:

Terminal window
curl -fsSL https://raw.githubusercontent.com/trilitech/octez-manager/main/install.sh | sh -s -- --prefix=/opt/bin
Terminal window
octez-manager --version

If you prefer to download manually, get the binary from GitHub Releases:

Terminal window
# 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 PATH
chmod +x octez-manager-v*-linux-x86_64
sudo mv octez-manager-v*-linux-x86_64 /usr/local/bin/octez-manager
# Verify
octez-manager --version
Terminal window
# Ubuntu/Debian
sudo apt install opam
# Initialize opam
opam init
eval $(opam env)
# Install OCaml 5.1
opam switch create 5.1.0
eval $(opam env)
Terminal window
git clone https://github.com/trilitech/octez-manager.git
cd octez-manager
# Install dependencies
opam install . --deps-only
# Build
dune build
# Install locally
dune install
Terminal window
octez-manager --version
octez-manager --help

Octez Manager creates systemd services to manage your Tezos infrastructure. How you run it determines where services and data are stored:

Run as a regular user. Creates user-level systemd services (systemctl --user).

Terminal window
octez-manager
ItemLocation
Services~/.config/systemd/user/
Configuration~/.config/octez/instances/
Data~/.local/share/octez/

Run as root. Creates system-level systemd services with dedicated service users.

Terminal window
sudo octez-manager
ItemLocation
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.