Installation Instructions
Compiler & toolkit
From aikup
(Linux & MacOS only)
First, install aikup
: a basic utility tool to download and manage Aiken's
pre-compiled executables:
curl -sSfL https://install.aiken-lang.org | bash
Then, simply run:
aikup
aikup
alone installs the latest version available. You can install specific
versions by specifying a version number. For usage instructions, use aikup --help
.
From sources (All platforms)
cargo install aiken --version 1.0.4-alpha
cargo
is a package manager for Rust. To install it, please refer to the
Rust book (opens in a new tab)
1.0.4-alpha
may not be the latest version. To install the latest version,
find the latest version number on
crates.io (opens in a new tab) and replace 1.0.4-alpha
with it when running the command above.
From Nix flakes (Linux & MacOS only)
nix build github:aiken-lang/aiken#aiken
Language Server
The aiken
command-line comes with a built-in language server (opens in a new tab). If needed, configure your language client with the following configuration (refer to your language client's instructions):
- command:
aiken lsp
(the command is hidden from the command-line help usage) - root pattern:
aiken.toml
- filetype: aiken (
.ak
)
Editor integrations
The following plugins provide syntax highlighting and indentation rules for Aiken.
Editor | Plugin |
---|---|
VSCode | aiken-lang/editor-integration-vscode (opens in a new tab) |
Vim/Neovim | aiken-lang/editor-integration-nvim (opens in a new tab) |