Installing Sailfin
Requirements
- Linux or macOS (Windows support via WSL)
- LLVM 17+ (installed automatically by the installer)
- A C compiler (gcc or clang) for linking
Quick Install
The fastest way to install Sailfin is with the install script:
curl -fsSL https://sailfin.dev/install.sh | sh
This installs the sailfin and sfn binaries to ~/.local/bin.
From Source
If you prefer to build from source:
git clone https://github.com/sailfin/sailfin.git
cd sailfin
make env # Create the Conda environment
make compile # Build the compiler (self-hosting from seed)
make install # Install to ~/.local/bin
Verify Installation
sfn --version
You should see output like:
sailfin v0.1.1-alpha
Next Steps
- Hello, World! — Write your first Sailfin program
- Tour of Sailfin — A guided introduction to the language