Installation
curl -sL https://api.github.com/repos/konveyor/crane/releases/latest |
jq -r ".assets[] | select(.name | contains(\"<arch>-<os>\")) | .browser_download_url" | wget -i-
chmod +x <binary>
cp <binary> /bin/usr/crane
Currently only three architectures are supported which are
- amd64-linux
- amd64-darwin
- arm64-darwin
GOPATH
should be configured to build the project.
cd $GOPATH
git clone https://github.com/konveyor/crane.git
cd crane
go build -o crane main.go
cp crane /bin/usr/crane
Note: It is recommended to install the released version instead of building from upstream main