Tested hardware: Raspberry Pi 3 B+
OS: Raspbian Stretch with desktop and recommended software 2018-11-13
To download the latest standalone compiler from GitHub:
- Browser to http://kotlinlang.org/.
- Click LEARN on top.
- Select the Tutorials tab on top.
- Select the Tutorials tab on top.
- Select Getting Started -> Working with the Command Line Compiler on the left.
- There should be a section of "Downloading the compile", with a download link to the latest release of Kotlin.
- Download and extract the file, in my case I extract to my ~/kotlinc/ directory.
- Add the path by enter the command in Terminal:
$ export PATH=~/kotlinc/bin:$PATH
- Download and extract the file, in my case I extract to my ~/kotlinc/ directory.
- Add the path by enter the command in Terminal:
$ export PATH=~/kotlinc/bin:$PATH