Install Location
~/.ailang/
bin/
toolchains/
local/
0.0.1-beta.22/
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 beta
curl -fsSL https://ailang.codes/install.sh | sh -s -- --version 0.0.1-beta.22
The default channel is beta until the first stable release. Beta, release-candidate, stable, and local builds use the same install layout.
Package Targets
Platform targets are package-driven. A project restores target
packages through ailang package restore, and the CLI
invokes the target-owned run, publish, doctor, or flash tools.
ailang package restore
ailang publish . --target aios-gui --target-option arch=aarch64
Target package versions are independent from reusable platform base
images. For AiOS, target-aios-gui 0.0.1-alpha.5 can
reuse an existing base-version=0.0.1-alpha.1 Buildroot
base cache.
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.