File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -422,15 +422,28 @@ Script to automatically download and cache standalone `scala-cli` launcher.
422422 ]} >
423423<TabItem value = " macOS/Linux" >
424424
425+ Download the Scala CLI launcher in your project directory:
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 >
428433<TabItem value = " windows" >
429434
435+ Download the Scala CLI launcher in your project directory:
436+ ``` bash
437+ Invoke-WebRequest " https://raw.githubusercontent.com/VirtusLab/scala-cli/refs/heads/main/scala-cli.bat" -OutFile " scala.bat”
438+ ` ` `
439+
430440< DownloadButton desc= ' Scala CLI launcher for Windows' href=' https://github.com/VirtusLab/scala-cli/blob/main/scala-cli.bat' width = ' 250px' ></DownloadButton>
431441
432442< /TabItem>
433443< /Tabs>
444+
445+ We recommend committing the scala executable together with your code so that everyone working on the project can
446+ compile and run the code without needing to install anything (not even Java).
434447< /div></div>
435448
436449< SectionAbout title=" Bootstrapped standalone fat JAR" colBigTitle=" 7" ></SectionAbout>
You can’t perform that action at this time.
0 commit comments