- Go 1.25+ (only required if building from source)
- kubectl — required for deploying output to clusters and for
crane validatewith live cluster mode; not required forcrane apply(kustomize is embedded) - Docker (optional) — for container-based workflows
Download a prebuilt binary from the releases page:
# Download the latest release (adjust OS/arch as needed)
curl -L https://github.com/konveyor/crane/releases/latest/download/crane-linux-amd64 -o crane
chmod +x crane
sudo mv crane /usr/local/bin/git clone https://github.com/konveyor/crane.git
cd crane
go build -o crane main.go
sudo mv crane /usr/local/bin/crane versionYou should see the Crane version output.
Verify Crane works with an accessible cluster:
# Export resources from a namespace
crane export -n default --export-dir /tmp/crane-test
# Check exported resources
ls /tmp/crane-test/resources/default/If you see YAML files for resources in the default namespace, Crane is working correctly.
- Command Reference — Detailed documentation for each command
- Contributing — How to contribute