Installation
Install Legra and verify your environment.
Prerequisites
- macOS (Apple Silicon), Linux (x86_64 / arm64), or Windows (x86_64)
Quick install
On Ubuntu, install Legra from the Snap Store:
The legra install command is the repair and reinstall entry point after Legra
is present on the machine. On Ubuntu it installs or refreshes the Snap package
by default.
On macOS, Debian, RPM-based Linux distributions, or Windows, use the platform installer from the download page or one of the package-manager options below.
The shell installer remains available for non-interactive Linux installs:
On Windows (PowerShell):
Package managers
Snap (Ubuntu)
APT (Debian / Ubuntu administrators)
The APT repository publishes signed metadata for amd64 and arm64. Use this
path for managed Debian/Ubuntu fleets that intentionally avoid Snap.
Homebrew (macOS / Linux)
winget (Windows)
Native installers
Download the installer for your platform directly:
| Platform | Installer | Command |
|---|---|---|
| macOS (Apple Silicon) | legra.pkg | Double-click, or sudo installer -pkg legra.pkg -target / |
| Linux x86_64 (deb) | legra_amd64.deb | Use APT above for normal installs; local .deb files are for manual testing |
| Linux arm64 (deb) | legra_arm64.deb | Use APT above for normal installs; local .deb files are for manual testing |
| Linux x86_64 (rpm) | legra.x86_64.rpm | sudo rpm -i legra.x86_64.rpm |
| Linux arm64 (rpm) | legra.aarch64.rpm | sudo rpm -i legra.aarch64.rpm |
| Windows (x86_64) | legra.msi | Double-click, or msiexec /i legra.msi |
Upgrade
Once installed, use the built-in upgrade command to stay current:
Verify the installation
You should see version and protocol information printed to the terminal.
Next steps
Continue to the Quickstart to initialize a node and run your first query.