Skip to content

Releases: TimWhiting/koka

v3.1.3-alpha18

30 Jun 20:38

Choose a tag to compare

v3.1.3-alpha18 Pre-release
Pre-release

VS Code installation

It is recommended to install the binary compiler via the VS Code Koka extension. See the getting started guide for more information.

Command Line Installation

Linux (x64,arm64) and macOS (x64, arm64)

Tested on macOS, Ubuntu, Debian, and should run on most Linux distributions. From a command prompt, run:

curl -sSL https://github.com/koka-lang/koka/releases/latest/download/install.sh | sh

After install, run koka to verify if koka installed correctly.n

  • For most installations this will ask for root access in order to install to /usr/local/bin. For more control, you can pass a different prefix. For example, installing to ~/.local instead:
    curl -sSL https://github.com/koka-lang/koka/releases/latest/download/install.sh | sh -s -- --prefix=~/.local

  • To uninstall a version, use the --uninstall option:
    curl -sSL https://github.com/koka-lang/koka/releases/latest/download/install.sh | sh -s -- --uninstall

  • For pre-release versions specify the version tag for the release:
    curl -sSL https://github.com/koka-lang/koka/releases/download/<version-tag>/install.sh | sh

Windows (x64, arm64)

Open a cmd prompt and download and run the installer:

curl -sSL -o %tmp%\install-koka.bat https://github.com/koka-lang/koka/releases/latest/download/install.bat && %tmp%\install-koka.bat

This will also prompt to install the clang compiler and Windows SDK if needed, and install syntax highlighting for the VS Code editor. After install, run koka to verify if koka installed correctly.

  • On Windows arm64, we use the x64 Koka compiler (which runs emulated), but the generated code is native arm64.

  • On Windows, the default install is to the user profile at %APPDATA%\local. You can change the installation directory using --prefix. For example:
    curl -sSL -o %tmp%\install-koka.bat https://github.com/koka-lang/koka/releases/latest/download/install.bat && %tmp%\install-koka.bat --prefix=c:\programs\local

  • To uninstall a version, use the --uninstall option:
    curl -sSL -o %tmp%\install-koka.bat https://github.com/koka-lang/koka/releases/latest/download/install.bat && %tmp%\install-koka.bat --uninstall

  • For pre-release versions specify the version tag for the release:
    curl -sSL -o %tmp%\install-koka.bat https://github.com/koka-lang/koka/releases/download/<version-tag>/install.bat && %tmp%\install-koka.bat

Other platforms

You need to build from source, however Koka has few dependencies and should build from source without problems on most common platforms.

v3.1.3

23 Jun 06:36

Choose a tag to compare

Merge branch 'git_build_workflow'

v3.1.2x3

23 Jun 04:58
1a2f824

Choose a tag to compare

update