Files
vercel-labs--zerolang/docs/articles/install.md
T
wehub-resource-sync e7738de6d2
CI / Deep Native Runtime Cases (1/6) (push) Has been skipped
CI / Native Preflight (push) Failing after 1s
CI / Native Runtime Cases (1/2) (push) Failing after 0s
CI / Native Runtime Cases (2/2) (push) Failing after 1s
CI / Native Metadata Reports (push) Failing after 0s
CI / Native Direct Backend Artifacts (push) Failing after 0s
CI / Native Sanitizer Smoke (push) Failing after 1s
CI / Command Contract Snapshots (push) Failing after 1s
CI / Deep Conformance Suite (push) Has been skipped
CI / Graph Build Perf (push) Failing after 1s
CI / Deep Native Preflight (push) Has been skipped
CI / Deep Native Runtime Cases (2/6) (push) Has been skipped
CI / Deep Native Runtime Cases (3/6) (push) Has been skipped
CI / Conformance Suite (push) Failing after 1s
CI / Workspace Checks (push) Failing after 0s
CI / Deep Native Runtime Cases (5/6) (push) Has been skipped
CI / Deep Native Runtime Cases (6/6) (push) Has been skipped
CI / Deep Native Runtime Cases (4/6) (push) Has been skipped
CI / Deep Graph Build Perf (push) Has been skipped
chore: import upstream snapshot with attribution
2026-07-13 12:29:30 +08:00

58 lines
1.4 KiB
Markdown

## Install The Compiler
Install Zerolang when you want an agent to build graph-first programs on your
machine. The compiler is experimental. Use it in isolated workspaces and avoid
production data.
## Install The Latest Release
```sh
curl -fsSL https://zerolang.ai/install.sh | bash
export PATH="$HOME/.zero/bin:$PATH"
zero --version
```
The installer downloads the latest release asset for your platform and checks
the release checksum file before installing the binary.
## Verify The Environment
```sh
zero doctor
zero targets
zero skills
```
`zero doctor --json` includes host and toolchain readiness. `zero targets --json`
includes `targetToolchains`, target aliases, hosted capability facts, and
cross-target support notes.
## Load Version-Matched Agent Knowledge
Agents should not rely on a stale external Zero guide. Ask the installed
compiler for the skills bundled with that exact binary:
```sh
zero skills
zero skills get agent
zero skills get graph
zero skills get language
zero skills get stdlib
```
The thin external Zero skill is only a bootstrap stub. The compiler-bundled
skills are the current command and language reference for that release.
## Repository Checkout
When working inside the Zero compiler repository, build the local compiler and
then use the checkout's `zero` binary for experiments:
```sh
pnpm install
make -C native/zero-c
zero --version
```
The repository contributor notes cover checkout-specific wrapper commands.