Releases: koka-lang/koka
Releases · koka-lang/koka
v2.0.8
Initial binary releases -- still experimental.
Linux and macOS (64-bit x86)
Tested on Ubuntu 18, 20, Debian 10, and macOS X Catalina, and should run on most Linux distros.
From a command prompt, run:
> curl -sSL https://github.com/koka-lang/koka/releases/download/v2.0.8/install.sh | sh
After install, run
> koka
to verify koka installed correctly.
- If
curl
is not installed on you system, use> wget -qO- https://github.com/koka-lang/koka/releases/download/v2.0.8/install.sh | sh
- 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/download/v2.0.8/install.sh | sh -s -- --prefix=~/.local
- To uninstall a version, use the
--uninstall
switch:> curl -sSL https://github.com/koka-lang/koka/releases/download/v2.0.8/install.sh | sh -s -- --uninstall
Windows 10 (64-bit x86)
Koka requires Visual Studio to be installed.
Open a Visual Studio x64 toolset command prompt and download and run the installer:
> curl -f -L -o install.bat https://github.com/koka-lang/koka/releases/download/v2.0.8/install.bat
> install.bat
which will install koka to %APPDATA%\local\bin
. You may need to add this directory to your PATH environment variable.
After this you can run the koka
command from a Visual Studio x64 toolset command prompt where it will use cl
(or clang-cl
) to compile and be able to link with the standard Windows libraries:
> koka
- You can also download the Windows
tar.gz
bundle manually and use the following command to unpack it:and add> tar -xzf koka-v2.0.8-win-x86_64.tar.gz -C <destination folder>
<destination folder>\bin
to the PATH environment variable to findkoka
. - If the Clang 64-bit compiler is installed, Koka will use
clang-cl
(instead ofcl
) which usually generates faster code. You can usekoka --cc=cl
to select the Visual Studio compiler explicitly.