File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -412,7 +412,7 @@ Any features relying on third-party JVMs (such as ```--jvm``` and ```package --n
412412
413413<div className = " row" ><div className = " col col--9 col--offset-1 padding--lg advanced_install_methods" >
414414
415- Script to automatically download and cache standalone ` scala-cli ` launcher.
415+ Script to automatically download and cache standalone Scala CLI launcher.
416416
417417<Tabs groupId = " specific-standalone-launcher"
418418 defaultValue = " macOS/Linux"
@@ -422,11 +422,30 @@ 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+ We also recommend downloading the corresponding launcher for Windows users:
430+ ``` bash
431+ curl https://raw.githubusercontent.com/VirtusLab/scala-cli/refs/heads/main/scala-cli.bat > scala.bat
432+ ```
433+
425434<DownloadButton desc = ' Scala CLI launcher for macOS/Linux' href = ' https://github.com/VirtusLab/scala-cli/blob/main/scala-cli.sh' width = ' 250px' ></DownloadButton >
426435
427436</TabItem >
428437<TabItem value = " windows" >
429438
439+ Download the Scala CLI launcher in your project directory:
440+ ``` bash
441+ Invoke-WebRequest " https://raw.githubusercontent.com/VirtusLab/scala-cli/refs/heads/main/scala-cli.bat" -OutFile " scala.bat”
442+ ` ` `
443+ We also recommend downloading the corresponding launcher for macOS and Linux users:
444+ ` ` ` bash
445+ Invoke-WebRequest " https://raw.githubusercontent.com/VirtusLab/scala-cli/refs/heads/main/scala-cli.sh" > scala
446+ git update-index --chmod=+x scala
447+ ` ` `
448+
430449< DownloadButton desc= ' Scala CLI launcher for Windows' href=' https://github.com/VirtusLab/scala-cli/blob/main/scala-cli.bat' width = ' 250px' ></DownloadButton>
431450
432451< /TabItem>
You can’t perform that action at this time.
0 commit comments