Skip to content

Commit

Permalink
updated installation instruction to use sdkman
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerbrandl committed Jun 21, 2017
1 parent aa6daab commit 3cb8e15
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,16 @@ To use `kscript` just Kotlin and Maven are required. To [install Kotlin](https:/
```
curl -s "https://get.sdkman.io" | bash # install sdkman
source ~/.bash_profile # add sdkman to PATH
sdk install kotlin # install Kotlin
sdk install maven # install Maven
```

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


To test your installation simply run
```bash
Expand All @@ -42,6 +44,14 @@ kscript --help
kscript --self-update
```

#### Installation without `sdkman`

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:

```bash
curl -Lso ~/bin/kscript https://git.io/v9R73 && chmod u+x ~/bin/kscript
```

Interpreter Usage
-----------------

Expand Down

0 comments on commit 3cb8e15

Please sign in to comment.