This folder contains the Ferret compiler, installer scripts, and local build scripts.
The install scripts download the latest Ferret release from Ferret-Language/Ferret, extract the compiler bundle and toolchain, and add ferret to your PATH.
Supported release installers:
- Linux:
amd64,arm64 - macOS:
amd64,arm64 - Windows:
amd64,arm64
curl -fsSL https://raw.githubusercontent.com/Ferret-Language/Ferret/refs/heads/main/install-ferret.sh | bashIf you prefer wget:
wget -qO- https://raw.githubusercontent.com/Ferret-Language/Ferret/refs/heads/main/install-ferret.sh | bashInstall a specific release tag:
curl -fsSL https://raw.githubusercontent.com/Ferret-Language/Ferret/refs/heads/main/install-ferret.sh | bash -s -- v0.1.0Default install location:
~/.local/ferret
Use the same installer script:
curl -fsSL https://raw.githubusercontent.com/Ferret-Language/Ferret/refs/heads/main/install-ferret.sh | bashInstall a specific release tag:
curl -fsSL https://raw.githubusercontent.com/Ferret-Language/Ferret/refs/heads/main/install-ferret.sh | bash -s -- v0.1.0Default install location:
~/.local/ferret
Invoke-WebRequest https://raw.githubusercontent.com/Ferret-Language/Ferret/refs/heads/main/install-ferret.ps1 -OutFile install-ferret.ps1
powershell -NoProfile -ExecutionPolicy Bypass -File .\install-ferret.ps1Install a specific release tag:
Invoke-WebRequest https://raw.githubusercontent.com/Ferret-Language/Ferret/refs/heads/main/install-ferret.ps1 -OutFile install-ferret.ps1
powershell -NoProfile -ExecutionPolicy Bypass -File .\install-ferret.ps1 -Version v0.1.0Download and run the wrapper script:
curl -fsSLO https://raw.githubusercontent.com/Ferret-Language/Ferret/refs/heads/main/install-ferret.cmd
install-ferret.cmdDefault install location:
%LOCALAPPDATA%\Ferret
Open a new terminal and run:
ferret --helpPrerequisite:
- Go must be installed and available in
PATH.
./build.shbuild.batThe packaged output is written under:
build/core
build/toolchain