File tree 1 file changed +20
-1
lines changed
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
412
412
413
413
<div className = " row" ><div className = " col col--9 col--offset-1 padding--lg advanced_install_methods" >
414
414
415
- Script to automatically download and cache standalone ` scala-cli ` launcher.
415
+ Script to automatically download and cache standalone Scala CLI launcher.
416
416
417
417
<Tabs groupId = " specific-standalone-launcher"
418
418
defaultValue = " macOS/Linux"
@@ -422,11 +422,30 @@ Script to automatically download and cache standalone `scala-cli` launcher.
422
422
]} >
423
423
<TabItem value = " macOS/Linux" >
424
424
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
+
425
434
<DownloadButton desc = ' Scala CLI launcher for macOS/Linux' href = ' https://github.com/VirtusLab/scala-cli/blob/main/scala-cli.sh' width = ' 250px' ></DownloadButton >
426
435
427
436
</TabItem >
428
437
<TabItem value = " windows" >
429
438
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
+
430
449
< DownloadButton desc= ' Scala CLI launcher for Windows' href=' https://github.com/VirtusLab/scala-cli/blob/main/scala-cli.bat' width = ' 250px' ></DownloadButton>
431
450
432
451
< /TabItem>
You can’t perform that action at this time.
0 commit comments