Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EDU-5815] Update CLI installation guide with Windows tab #1392

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ The Azion CLI is built in Go and interacts with Azion products through the Azion
If you choose the **RPM**, **Dpkg**, or **apk** package manager, or the **.deb** file, go to the [releases page](https://github.com/aziontech/azion-cli/releases) and download the desired package.

:::note
If you choose to use Homebrew, the previous step isn't necessary.
If you choose to use Homebrew, Chocolatey, or Windows Package Manager, the previous step isn't necessary.
guiafonso-ol marked this conversation as resolved.
Show resolved Hide resolved
guiafonso-ol marked this conversation as resolved.
Show resolved Hide resolved
:::

Choose one of the following options:
Expand All @@ -52,7 +52,7 @@ import Tabs from '~/components/tabs/Tabs';
<Fragment slot="tab.apk">APK</Fragment>
<Fragment slot="tab.brew">Brew</Fragment>
<Fragment slot="tab.deb">APT</Fragment>

<Fragment slot="tab.windows">Windows</Fragment>

<Fragment slot="panel.rpm">
<slot name="rpm" />
Expand Down Expand Up @@ -82,6 +82,17 @@ brew install azion
sudo apt install ./<download_file_path>
```
</Fragment>
<Fragment slot="panel.windows">
<slot name="windows" />
Using **Chocolatey**:
```shell
choco install azion
```
Using **Windows Package Manager**:
```shell
winget install azion
guiafonso-ol marked this conversation as resolved.
Show resolved Hide resolved
```
</Fragment>
</Tabs>

---
Expand All @@ -91,7 +102,7 @@ sudo apt install ./<download_file_path>
To update the Azion CLI, download the latest package from the [releases page](https://github.com/aziontech/azion-cli/releases) and run the appropriate command according to your chosen tool:

:::note
If you choose to use Homebrew, the previous step isn't necessary.
If you choose to use Homebrew, Chocolatey, or Windows Package Manager, the previous step isn't necessary.
guiafonso-ol marked this conversation as resolved.
Show resolved Hide resolved
:::

<Tabs client:visible sharedStore="package-managers">
Expand All @@ -100,7 +111,7 @@ If you choose to use Homebrew, the previous step isn't necessary.
<Fragment slot="tab.apk">APK</Fragment>
<Fragment slot="tab.brew">Brew</Fragment>
<Fragment slot="tab.deb">APT</Fragment>

<Fragment slot="tab.windows">Windows</Fragment>

<Fragment slot="panel.rpm">
<slot name="rpm" />
Expand Down Expand Up @@ -130,6 +141,17 @@ brew upgrade azion
sudo apt install ./<download_file_path>
```
</Fragment>
<Fragment slot="panel.windows">
<slot name="windows" />
Using **Chocolatey**:
```shell
choco upgrade azion
```
Using **Windows Package Manager**:
```shell
winget upgrade azion
guiafonso-ol marked this conversation as resolved.
Show resolved Hide resolved
```
</Fragment>
</Tabs>

---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ A Azion CLI é desenvolvida em Go e interage com os produtos da Azion através d

### Download

Se você optar pelos gerenciador de pacotes **RPM**, **Dpkg** ou **apk**, ou o arquivo **.deb**, vá para a [página de lançamentos](https://github.com/aziontech/azion-cli/releases) e faça o download do pacote desejado.
Se você optar pelos gerenciadores de pacotes **RPM**, **Dpkg** ou **apk**, ou o arquivo **.deb**, vá para a [página de lançamentos](https://github.com/aziontech/azion-cli/releases) e faça o download do pacote desejado.

:::note
Se você escolher usar o Homebrew, a etapa anterior não será necessária.
Se você escolher usar o Homebrew, Chocolatey, ou Windows Package Manager, a etapa anterior não será necessária.
guiafonso-ol marked this conversation as resolved.
Show resolved Hide resolved
:::

Escolha uma das seguintes opções:
Expand All @@ -53,6 +53,7 @@ import Tabs from '~/components/tabs/Tabs';
<Fragment slot="tab.apk">APK</Fragment>
<Fragment slot="tab.brew">Brew</Fragment>
<Fragment slot="tab.deb">APT</Fragment>
<Fragment slot="tab.windows">Windows</Fragment>


<Fragment slot="panel.rpm">
Expand Down Expand Up @@ -86,14 +87,25 @@ brew install azion
sudo apt install ./<filepath_arquivo>
```
</Fragment>
<Fragment slot="panel.windows">
<slot name="windows" />
Usando o **Chocolatey**:
```shell
choco install azion
```
Usando o **Windows Package Manager**:
```shell
winget install azion
guiafonso-ol marked this conversation as resolved.
Show resolved Hide resolved
```
</Fragment>
</Tabs>

### Atualizar

Para atualizar a Azion CLI, baixe o pacote mais recente da [página de lançamentos](https://github.com/aziontech/azion-cli/releases) e execute o comando apropriado de acordo com a ferramenta escolhida:

:::note
Se você escolher usar o Homebrew, a etapta anterior não é necessária.
Se você escolher usar o Homebrew, Chocolatey, ou Windows Package Manager, a etapa anterior não é necessária.
guiafonso-ol marked this conversation as resolved.
Show resolved Hide resolved
:::

<Tabs client:visible sharedStore="package-managers">
Expand All @@ -102,13 +114,24 @@ Se você escolher usar o Homebrew, a etapta anterior não é necessária.
<Fragment slot="tab.apk">APK</Fragment>
<Fragment slot="tab.brew">Brew</Fragment>
<Fragment slot="tab.deb">APT</Fragment>

<Fragment slot="tab.windows">Windows</Fragment>

<Fragment slot="panel.rpm">
<slot name="rpm" />
```shell
sudo rpm -i <downloaded_file>
```
</Fragment>
<Fragment slot="panel.windows">
<slot name="windows" />
Usando o **Chocolatey**:
```shell
choco upgrade azion
```
Usando o **Windows Package Manager**:
```shell
winget upgrade azion
guiafonso-ol marked this conversation as resolved.
Show resolved Hide resolved
```
</Fragment><Fragment slot="panel.dpkg">
<slot name="dpkg" />
```shell
Expand Down