Skip to content

Commit 06152fd

Browse files
committed
Curl install launcher in your repo
1 parent 4ecf3dd commit 06152fd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

website/docs/_advanced_install.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,11 @@ Script to automatically download and cache standalone `scala-cli` launcher.
422422
]}>
423423
<TabItem value="macOS/Linux">
424424

425+
Download the launcher in your repository and commit the file altogether with your code:
426+
```bash
427+
curl https://raw.githubusercontent.com/VirtusLab/scala-cli/refs/heads/main/scala-cli.sh > scala && chmod +x scala
428+
```
429+
425430
<DownloadButton desc= 'Scala CLI launcher for macOS/Linux' href='https://github.com/VirtusLab/scala-cli/blob/main/scala-cli.sh' width = '250px' ></DownloadButton>
426431

427432
</TabItem>

0 commit comments

Comments
 (0)