Installation
Install (recommended)
Section titled “Install (recommended)”curl -fsSL https://raw.githubusercontent.com/Ferret-Language/Ferret/refs/heads/main/installers/install.sh | bashInvoke-WebRequest https://raw.githubusercontent.com/Ferret-Language/Ferret/refs/heads/main/installers/install.ps1 -OutFile ferret.ps1powershell -NoProfile -ExecutionPolicy Bypass -File .\ferret.ps1curl -fsSLO https://raw.githubusercontent.com/Ferret-Language/Ferret/refs/heads/main/installers/install.cmdferret.cmdVerify installation
Section titled “Verify installation”ferret --helpBuild from source
Section titled “Build from source”You need Go in PATH.
git clone https://github.com/Ferret-Language/Ferret.gitcd Ferret/compiler./build.shWindows:
cd compilerbuild.batBuild artifacts are written under build/core and build/toolchain.
Running Ferret programs
Section titled “Running Ferret programs”ferret run main.fer