Skip to content

Commit

Permalink
feat-Include-CLI-Windows-Instalation (#1436)
Browse files Browse the repository at this point in the history
* Update azion-overview.mdx

* feat-Include-CLI-Windows-Instalation

* feat: add note and update tabs

* Update src/content/docs/pt-br/pages/devtools/cli/azion-cli/azion-overview/azion-overview.mdx

---------

Co-authored-by: guiafonso-ol <[email protected]>
  • Loading branch information
VitorAEltz and guiafonso-ol authored Jan 17, 2025
1 parent 52e1426 commit d79434d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 4 deletions.
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 or Windows Package Manager (Winget), the previous step isn't necessary.
:::

Choose one of the following options:
Expand All @@ -52,6 +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.win">Windows/MSI</Fragment>


<Fragment slot="panel.rpm">
Expand Down Expand Up @@ -82,6 +83,12 @@ brew install azion
sudo apt install ./<download_file_path>
```
</Fragment>
<Fragment slot="panel.win">
<slot name="win" />
```shell
winget install aziontech.azion
```
</Fragment>
</Tabs>

---
Expand All @@ -91,7 +98,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 or Windows Package Manager (Winget), the previous step isn't necessary.
:::

<Tabs client:visible sharedStore="package-managers">
Expand All @@ -100,6 +107,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.win">Windows/MSI</Fragment>


<Fragment slot="panel.rpm">
Expand Down Expand Up @@ -130,6 +138,12 @@ brew upgrade azion
sudo apt install ./<download_file_path>
```
</Fragment>
<Fragment slot="panel.win">
<slot name="win" />
```shell
winget upgrade aziontech.azion
```
</Fragment>
</Tabs>

---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ A Azion CLI é desenvolvida em Go e interage com os produtos da Azion através d
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.

:::note
Se você escolher usar o Homebrew, a etapa anterior não será necessária.
Se você escolher usar o Homebrew ou Windows Package Manager (Winget), a etapa anterior não será necessária.
:::

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.win">Windows/MSI</Fragment>


<Fragment slot="panel.rpm">
Expand Down Expand Up @@ -86,14 +87,20 @@ brew install azion
sudo apt install ./<filepath_arquivo>
```
</Fragment>
<Fragment slot="panel.win">
<slot name="win" />
```shell
winget install aziontech.azion
```
</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 ou Windows Package Manager (Winget), a etapa anterior não será necessária.
:::

<Tabs client:visible sharedStore="package-managers">
Expand All @@ -102,6 +109,7 @@ 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.win">Windows/MSI</Fragment>


<Fragment slot="panel.rpm">
Expand Down Expand Up @@ -132,6 +140,12 @@ brew upgrade azion
sudo apt install ./<download_file_path>
```
</Fragment>
<Fragment slot="panel.win">
<slot name="win" />
```shell
winget upgrade aziontech.azion
```
</Fragment>
</Tabs>

---
Expand Down

0 comments on commit d79434d

Please sign in to comment.