Skip to content

Instantly share code, notes, and snippets.

@pgreze
Last active April 14, 2020 06:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pgreze/0aa124594c302637bc289ad8c94e7da0 to your computer and use it in GitHub Desktop.
Save pgreze/0aa124594c302637bc289ad8c94e7da0 to your computer and use it in GitHub Desktop.
Install Kscript on Linux with sdkman
# Install sdkman
curl -s https://get.sdkman.io | bash # 2s
source "$HOME/.sdkman/bin/sdkman-init.sh"
# Install kotlin and kscript
sdk install kotlin # 10s ...
sdk install kscript # 6s
@pgreze
Copy link
Author

pgreze commented Apr 14, 2020

DL only kscript without sdkman:

wget https://github.com/holgerbrandl/kscript/releases/download/v2.9.3/kscript-2.9.3-bin.zip
unzip kscript-2.9.3-bin.zip
export PATH="$PWD/kscript-2.9.3/bin/:$PATH"

@pgreze
Copy link
Author

pgreze commented Apr 14, 2020

List kscript versions:

sdk list kscript

Install a specific version:

sdk install kscript 2.9.0

Switch used version:

sdk use kscript 2.9.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment