Preferred install: the one-liner (after 0.1.0-alpha Release assets exist). Full layout and switches: Install.
Prerequisites
- A C compiler on
PATH(cc,clang, orgcc) for the native link step - curl + tar for the one-liner installer
- Rust (
cargo,rustc) only if you install from source or develop the toolchain - pnpm only if you want the docs site locally
Install the CLI
curl -fsSL https://aura.fadosoft.com/install.sh | bash
# pin: curl -fsSL https://aura.fadosoft.com/install.sh | AURA_VERSION=0.1.0-alpha bash
export PATH="$HOME/.aura/bin:$HOME/.local/bin:$PATH"
aura versionSwitch installed versions with avm (see Install).
From source (contributors / monorepo)
git clone https://github.com/auraspace/aura.git
cd aura
cargo install --path crates/aura-cli
# or without installing:
cargo run -p aura-cli -- --helpThe C runtime is embedded in the CLI; you do not need the repo tree after a binary install.
Hello, Aura (scaffold)
aura new hello
aura run helloIn the monorepo without a global install:
cargo run -p aura-cli -- new hello
cargo run -p aura-cli -- run helloThis creates hello/aura.toml and hello/src/main.aura:
// Generated by `aura new`
package hello
fun main() {
println("Hello, Aura")
}Typecheck / build
aura check hello
aura build hello -o target/aura/hello
./target/aura/helloNative builds emit C, compile with the system cc, and link aura_rt.c (embedded or from the release tree).
A single-file sample also lives at corpus/hello/main.aura if you prefer not to scaffold (monorepo).
More corpus samples
From a clone of this repository:
| Command | What it shows |
|---|---|
run corpus/multi | Multi-file package + aura.toml |
test corpus/test/smoke.aura | @test functions |
run corpus/import/app | Path dependencies |
run corpus/std_io/app | std.io.println |
run corpus/std_io/files | readFile / writeFile |
run corpus/std_io/try_read_file | tryReadFile: String? (C12p) |
run corpus/std_io/args -- hello | Process argv after -- (C12b/c) |
run corpus/std_io/stdin | readLine / readAllStdin (C12d) |
run corpus/fun/lambda_capture.aura | Lambda val captures |
run examples/notes | Dogfood multi-file notes app |
test examples/notes | Package @test suite |
run examples/wc -- path/to/file | Dogfood CLI: args + split/trim/toInt (C12q) |
Prefix with cargo run -p aura-cli -- when using the in-tree CLI. Full milestone list: root README.
Docs site (optional)
pnpm install # monorepo workspace (once)
pnpm site:dev # http://localhost:5173
pnpm site:buildNext
- Language tour — map of language guides
- Types & nullability
- CLI — verb reference
- FAQ