Skip to content

Commit 410f54c

Browse files
authored
Add docs how to install scala-cli via choco (#1179)
1 parent 2e1ab04 commit 410f54c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

website/docs/_advanced_install.mdx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ values={[
164164
{label: 'Manual', value: 'manual'},
165165
{label: 'Installer', value: 'installer'},
166166
{label: 'SDKMAN', value: 'sdkman'},
167+
{label: 'Chocolatey', value: 'choco'},
167168
]}
168169
>
169170

@@ -214,6 +215,18 @@ Scala CLI can be installed via [SDKMAN](https://sdkman.io) with
214215
```bash
215216
sdk install scalacli
216217
```
218+
</TabItem>
219+
<TabItem value="choco">
220+
221+
To install Scala CLI via [Chocolatey](https://chocolatey.org), run the following command from the command line or from PowerShell:
222+
223+
```bash
224+
choco install scala-cli
225+
```
226+
:::note
227+
Third-party Chocolatey packages may not provide the latest version.
228+
:::
229+
217230
</TabItem>
218231
</Tabs>
219232

@@ -536,6 +549,7 @@ defaultValue="manual-u"
536549
values={[
537550
{label: 'Manual', value: 'manual-u'},
538551
{label: 'Installer', value: 'installer-u'},
552+
{label: 'Chocolatey', value: 'choco'},
539553
]}
540554
>
541555

@@ -551,6 +565,15 @@ rmdir "%USERPROFILE%/scala-cli"
551565

552566
If Scala CLI was installed via the installer, you can uninstall it in the Control Panel.
553567

568+
</TabItem>
569+
<TabItem value="choco">
570+
571+
To uninstall Scala CLI via [Chocolatey](https://chocolatey.org), run the following command from the command line or from PowerShell:
572+
573+
```bash
574+
choco uninstall scala-cli
575+
```
576+
554577
</TabItem>
555578
</Tabs>
556579

0 commit comments

Comments
 (0)