Skip to content

Commit 3cb8e15

Browse files
committed
updated installation instruction to use sdkman
1 parent aa6daab commit 3cb8e15

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,16 @@ To use `kscript` just Kotlin and Maven are required. To [install Kotlin](https:/
2323
```
2424
curl -s "https://get.sdkman.io" | bash # install sdkman
2525
source ~/.bash_profile # add sdkman to PATH
26+
2627
sdk install kotlin # install Kotlin
2728
sdk install maven # install Maven
2829
```
2930

30-
Once kotlin is installed, simply download [kscript](kscript) to your `~/bin` with:
31-
```bash
32-
curl -Lso ~/bin/kscript https://git.io/v9R73 && chmod u+x ~/bin/kscript
31+
Once Maven and Kotlin are ready, you can install `kscript` with
3332
```
33+
sdk install kscript
34+
```
35+
3436

3537
To test your installation simply run
3638
```bash
@@ -42,6 +44,14 @@ kscript --help
4244
kscript --self-update
4345
```
4446

47+
#### Installation without `sdkman`
48+
49+
If you have Kotlin and Maven already and you would like to install the latest `kscript` release to your `~/bin` without using `sdkman` you can do so with:
50+
51+
```bash
52+
curl -Lso ~/bin/kscript https://git.io/v9R73 && chmod u+x ~/bin/kscript
53+
```
54+
4555
Interpreter Usage
4656
-----------------
4757

0 commit comments

Comments
 (0)