Cyrus provides prebuilt binaries for major platforms, available on our GitHub releases page.
Head over to the releases page and grab the archive for your platform:
After downloading the release archive from GitHub releases, you need to extract it.
So you can run Cyrus from anywhere, move the binary to a directory in your PATH:
sudo mv cyrus /usr/local/bin
Cyrus requires access to its standard library. Copy it to a known location (e.g. ~/.cyrus_stdlib):
cp -r ./stdlib ~/.cyrus_stdlib
Then export the path in your shell config (~/.bashrc, ~/.zshrc, etc.):
export CYRUS_STDLIB=~/.cyrus_stdlib
Apply the changes:
source ~/.bashrc # or source ~/.zshrc
Check the compiler works:
cyrus version
Expected output:
Cyrus vX.Y.Z