Skip to content

Commit

Permalink
Add docs how to install scala-cli via choco (#1179)
Browse files Browse the repository at this point in the history
  • Loading branch information
lwronski authored Jul 15, 2022
1 parent 2e1ab04 commit 410f54c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions website/docs/_advanced_install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ values={[
{label: 'Manual', value: 'manual'},
{label: 'Installer', value: 'installer'},
{label: 'SDKMAN', value: 'sdkman'},
{label: 'Chocolatey', value: 'choco'},
]}
>

Expand Down Expand Up @@ -214,6 +215,18 @@ Scala CLI can be installed via [SDKMAN](https://sdkman.io) with
```bash
sdk install scalacli
```
</TabItem>
<TabItem value="choco">

To install Scala CLI via [Chocolatey](https://chocolatey.org), run the following command from the command line or from PowerShell:

```bash
choco install scala-cli
```
:::note
Third-party Chocolatey packages may not provide the latest version.
:::

</TabItem>
</Tabs>

Expand Down Expand Up @@ -536,6 +549,7 @@ defaultValue="manual-u"
values={[
{label: 'Manual', value: 'manual-u'},
{label: 'Installer', value: 'installer-u'},
{label: 'Chocolatey', value: 'choco'},
]}
>

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

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

</TabItem>
<TabItem value="choco">

To uninstall Scala CLI via [Chocolatey](https://chocolatey.org), run the following command from the command line or from PowerShell:

```bash
choco uninstall scala-cli
```

</TabItem>
</Tabs>

Expand Down

0 comments on commit 410f54c

Please sign in to comment.