Installation and Versioning

How AiLang toolchains are installed, selected, and updated.

Install Location

~/.ailang/
  bin/
  toolchains/
    local/
    0.0.1-alpha.25/
  current

The shims in ~/.ailang/bin route commands to the selected toolchain.

Release Channels

curl -fsSL https://ailang.codes/install.sh | sh
curl -fsSL https://ailang.codes/install.sh | sh -s -- --channel alpha
curl -fsSL https://ailang.codes/install.sh | sh -s -- --version 0.0.1-alpha.25

The default channel is alpha until the first stable release. Alpha, beta, release-candidate, stable, and local builds use the same install layout.

Project Toolchain

[toolchain]
version = "local"

A project can select a local development toolchain without changing the global default.

Source

View the full installation and versioning contract on GitHub.