| title | Set Up the Kairo Toolchain: Install Forge and Pulse |
|---|---|
| sidebarTitle | Installation |
| description | Install Forge and Pulse to start building and running Kairo applications. Covers early access options and building the toolchain from source. |
To build and run Kairo applications you need two tools: Forge, the compiler and build system, and Pulse, the runtime that executes your compiled programs. Together they form the Kairo toolchain — everything you need to go from source code to a running application.
Kairo is currently in **v0.1 preview** and is under active development. Official installation packages have not yet been published. Installation instructions will be available with the first public release. In the meantime, see the sections below for early access options.When the Kairo toolchain is installed, you will have two CLI tools available on your system.
Forge is the compiler and build system for Kairo. It reads your kairo.toml manifest, compiles your .ak source files, and manages your project's dependencies and outputs.
| Command | What it does |
|---|---|
forge restore |
Download and restore package dependencies |
forge check |
Type-check and validate your code without building |
forge build |
Compile your project and produce output artifacts |
forge test |
Run your project's test suite |
forge package |
Bundle your project into a distributable package |
forge publish |
Publish your package to a package registry |
forge clean |
Remove build artifacts and temporary output files |
Pulse is the runtime that executes compiled Kairo applications. It also provides tools for validating and inspecting compiled artifacts before you run them.
| Command | What it does |
|---|---|
pulse validate |
Validate a compiled artifact without executing it |
pulse run |
Execute a compiled Kairo application |
Kairo is being developed openly by Astra Kairo. If you want to follow along, get notified when the first release drops, or participate in shaping the language, the community is the best place to start.
Visit community.astrakairo.dev to follow development, ask questions, and get early access announcements. The Kairo source is available on GitHub. You can build the toolchain from source if you want to get started today.If you want to use Kairo before the first official release, you can build the toolchain directly from the source repository.
Clone the Kairo repository from GitHub to your local machine.```bash
git clone https://github.com/Astra-Kairo/kairo.git
cd kairo
```
```bash
cat README.md
```
```bash
forge --version
pulse --version
```
Once you have Forge and Pulse installed, the typical development workflow looks like this:
- Write your Kairo source files (
.ak) and define your project inkairo.toml - Check your code with
forge checkfor fast feedback during development - Build your project with
forge buildto produce compiled output - Run your application with
pulse run
You do not need any other tools to get started. The Forge CLI handles everything from dependency resolution to packaging, and Pulse handles execution.
Once you're set up, follow the [Quickstart](quickstart) guide to write and run your first Kairo program in just a few minutes.