Install Rot

How to install Rot

Installing Rot depends on how you want to run it. Rot is available as a binary or a container.

Binary

Rot binaries are available on GitHub.

curl -L https://github.com/candiddev/rot/releases/latest/download/rot_linux_amd64.tar.gz -O
curl -L https://github.com/candiddev/rot/releases/latest/download/rot_linux_amd64.tar.gz.sha256 -O
sha256sum -c rot_linux_amd64.tar.gz.sha256
tar -xzf rot_linux_amd64.tar.gz
curl -L https://github.com/candiddev/rot/releases/latest/download/rot_linux_arm.tar.gz -O
curl -L https://github.com/candiddev/rot/releases/latest/download/rot_linux_arm.tar.gz.sha256 -O
sha256sum -c rot_linux_arm.tar.gz.sha256
tar -xzf rot_linux_arm.tar.gz
curl -L https://github.com/candiddev/rot/releases/latest/download/rot_linux_arm64.tar.gz -O
curl -L https://github.com/candiddev/rot/releases/latest/download/rot_linux_arm64.tar.gz.sha256 -O
sha256sum -c rot_linux_arm64.tar.gz.sha256
tar -xzf rot_linux_arm64.tar.gz
curl -L https://github.com/candiddev/rot/releases/latest/download/rot_darwin_amd64.tar.gz -O
curl -L https://github.com/candiddev/rot/releases/latest/download/rot_darwin_amd64.tar.gz.sha256 -O
sha256sum -c rot_darwin_amd64.tar.gz.sha256
tar -xzf rot_darwin_amd64.tar.gz
curl -L https://github.com/candiddev/rot/releases/latest/download/rot_darwin_arm64.tar.gz -O
curl -L https://github.com/candiddev/rot/releases/latest/download/rot_darwin_arm64.tar.gz.sha256 -O
sha256sum -c rot_darwin_arm64.tar.gz.sha256
tar -xzf rot_darwin_arm64.tar.gz

Container

Rot containers are available on GitHub.

You can create an alias to run rot as a container:

alias rot='docker run -u $(id -u):$(id -g) -it --rm -v $(pwd):/work -w /work ghcr.io/candiddev/rot:latest'