Skip to content
English

Install and download

This page is not available in the selected language. You are viewing the English documentation for the same version.

0.0.19 snapshot Documentation

Download Ku 0.0.19 for your computer. Each experimental prerelease package includes the command-line tool, interpreter and VS Code extension.

System Architecture Download Size
macOS Apple Silicon / ARM64 Download macOS (.tar.gz) 39.8 MB
Windows x64 Download Windows (.tar.gz) 44.1 MB
Linux x64 / GNU Download Linux (.tar.gz) 48.3 MB

Extract the entire package into an empty folder, such as ku in your home folder. Keep all extracted files together; do not move only the executable. Open a terminal in that folder.

macOS / Linux:

Terminal window
./ku -v

Windows PowerShell:

Terminal window
.\ku.exe -v

ku -v is equivalent to ku --version. You should see ku 0.0.19. You can now run and check .ku files; installing Rust is not required for these operations.

Optional: use ku from any folder

If you extracted to ~/ku, add this line to your shell startup file, such as ~/.zshrc or ~/.bashrc:

Terminal window
export PATH="$HOME/ku:$PATH"

On Windows, open Edit environment variables for your account, edit the user Path, and add the full path of the extracted folder, for example %USERPROFILE%\ku. Keep the existing entries.

Open a new terminal and run ku -v.

In the VS Code Extensions view, choose … → Install from VSIX…, then select ku-language-0.0.19.vsix from the extracted folder and reload the window.

If Ku is not on PATH, set ku.executablePath to the full path of ku (ku.exe on Windows).

Verify the download

Compare the archive’s SHA-256 with SHA256SUMS. The release page also provides a .manifest.json for each package with file checksums. The package includes further instructions in README-INSTALL.md.

Compiling your own Ku programs

Running ku run and ku check needs the platform CLI. The default ku build additionally requires Rust matching the exact identity recorded by the installed SDK (current source and newly built SDKs: 1.99.1; published packages retain their bundled compiler metadata) and a system linker. ku build --backend c requires a target C compiler and linker. Native database programs also need the matching database client libraries, which are not bundled.

Source builds and local Rust updates.

Uninstall

Preserve any source files and configuration you created, then remove the extracted folder, the PATH entry you added, and the VS Code extension.

Next: run your first program

See the CLI reference for more tool commands and shorthands.