Skip to content

Commit 49dddff

Browse files
tgodzikGedochao
andauthored
docs: Update the recommened installation options for SiP Scala (#1549)
* docs: Update the recommened installation options for SiP Scala Previously, we only mentioned renaming or aliasing ScalaCli executable. Now, we also mention brew and coursier. * Add bash language to snippets Co-authored-by: Piotr Chabelski <[email protected]> Co-authored-by: Piotr Chabelski <[email protected]>
1 parent fe700cf commit 49dddff

File tree

1 file changed

+16
-1
lines changed
  • website/docs/reference/scala-command

1 file changed

+16
-1
lines changed

website/docs/reference/scala-command/index.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,19 @@ That is why we built in a mechanism to limit the commands, options, directives b
1414

1515
## Testing Scala CLI as `scala`
1616

17-
The recommended way to test and use Scala CLI, as it will be `scala` command is to create a link to the existing Scala CLI binary named `scala-cli-sip` and add it to PATH.
17+
There are two recommended ways to test and use Scala CLI:
18+
19+
- with brew:
20+
21+
```bash
22+
brew install virtuslab/scala-experimental/scala
23+
```
24+
25+
- with coursier:
26+
27+
```bash
28+
cs setup
29+
cs install scala-experimental ← this command will replace the default scala runner
30+
```
31+
32+
Alternatively, you can rename your `scala-cli` executable or alias it as `scala`

0 commit comments

Comments
 (0)