Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
16 changes: 16 additions & 0 deletions .codex/environments/environment.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# THIS IS AUTOGENERATED. DO NOT EDIT MANUALLY
version = 1
name = "docs"

[setup]
script = ""

[[actions]]
name = "Install Dependencies"
icon = "run"
command = "npm install"

[[actions]]
name = "Local Dev"
icon = "tool"
command = "npm run dev"
Original file line number Diff line number Diff line change
Expand Up @@ -13,40 +13,46 @@ menu_namespace: cliMenuAlpha
import Code from '~/components/Code/Code.astro'
import LinkButton from 'azion-webkit/linkbutton'

**Azion CLI** is an [open source](https://github.com/aziontech/azion-cli/) command-line interface (CLI) that lets you interact with Azion Web Platform using a terminal. You can use Azion CLI to:
**Azion CLI** is an [open source](https://github.com/aziontech/azion-cli/) command-line interface (CLI) that lets you interact with Azion Web Platform using a terminal. With Azion CLI, you can:

- Initialize, build, and deploy applications.
- Create Jamstack applications.
- Manage the applications on the platform.
- Have a local development server running.
- Link an existing project to an Azion application.
- Manage all Azion products through the terminal.
- Create automation using scripts or CI/CD pipelines.
- Provision multiple services that make up your application with a few commands.
- Manage your Azion configurations as code.
- Initialize, build, and deploy edge applications with a single command.
- Manage all Azion products and configurations as code.
- Run a local development server for testing.
- Automate workflows using scripts or CI/CD pipelines.

Azion disposes of a set of options to interact with the Azion products, such as:
The Azion CLI is built in Go and interacts with Azion products through the [Azion Go SDK](/en/documentation/devtools/sdk/go/). You can also interact with Azion using the [Terraform Provider](/en/documentation/products/terraform-provider/) or the [Azion API](https://api.azion.com/).

- [Azion Terraform Provider](/en/documentation/products/terraform-provider/)
- [Azion API](https://api.azion.com/)
- [Azion SDK for Go](/en/documentation/devtools/sdk/go/)
---

## Quick Start

Get started with Azion CLI in seconds:

The Azion CLI is built in Go and interacts with Azion products through the Azion Go SDK.
<Code lang="bash" code={`curl -fsSL https://cli.azion.app/install.sh | bash
azion login
azion init
azion deploy`} />


---

## Installing Azion CLI

### Downloading
### Recommended: Remote Script

The fastest way to install Azion CLI is using the remote installation script:

<Code lang="bash" code={`curl -fsSL https://cli.azion.app/install.sh | bash`} />

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.
### Package Managers

Alternatively, you can install using your preferred package manager.

:::note
If you choose to use Homebrew, Chocolatey, or Windows Package Manager (Winget), the previous step isn't necessary.
If you choose to use Homebrew, Chocolatey, or Windows Package Manager (Winget), no manual download is required.
:::

Choose one of the following options:
For **RPM**, **Dpkg**, **apk**, or **.deb**, go to the [releases page](https://github.com/aziontech/azion-cli/releases) and download the desired package, then run:

import Tabs from '~/components/tabs/Tabs';

Expand Down Expand Up @@ -137,46 +143,9 @@ Using **Windows Package Manager**:

---

## Web frameworks

The CLI works together with an open-source framework adapter called [Azion Bundler](https://github.com/aziontech/bundler). Azion Bundler adapts a variety of web frameworks to run on the edge of the network.

Azion employs the terminology `compute` and `deliver` to describe the operational modes of applications within its framework:

| Mode | Description |
| ----- | ------------ |
| Compute | Designed for applications that require computational processing at the Edge, whether it's for Front-End Server-Side Rendering (SSR) or Back-End tasks. In Compute Mode, Azion enables the execution of code and processing of dynamic content at the Edge to enhance performance and responsiveness. |
| Deliver | Tailored for frameworks that primarily focus on handling and routing incoming requests at the Edge, with an emphasis on efficiently serving static files. While applications in Deliver Mode don't execute dynamic code, they excel in optimizing the delivery of static content to end-users, thereby ensuring smooth and fast content distribution. |

The supported frameworks that run **static** (deliver) applications include:

- [Angular](/en/documentation/products/cli/frameworks/angular/)
- [Astro](/en/documentation/products/cli/frameworks/astro/)
- [Hexo](/en/documentation/products/cli/frameworks/hexo/)
- [Next.js](/en/documentation/products/cli/frameworks/next/)
- [React](/en/documentation/products/cli/frameworks/react/)
- [Vue](/en/documentation/products/cli/frameworks/vue/)
- [Vite](/en/documentation/products/cli/frameworks/vite/)
- JavaScript
- TypeScript
- Rustwasm
- Emscripten
- Gatsby
- Jekyll
- Svelte
- Eleventy



For applications that require processing on the edge (compute) rather than only delivery of content:

<LinkButton link="/en/documentation/devtools/azion-edge-runtime/compatibility/nextjs/" label="go to Azion and Next.js compatibility docs" severity="secondary" target="_blank" />
<LinkButton link="/en/documentation/products/devtools/azion-edge-runtime/frameworks-compatibility/" label="go to supported Web Frameworks" severity="secondary" target="_blank" />
<LinkButton link="/en/documentation/products/edge-application/edge-functions/runtime-apis/javascript/" label="go to supported Web APIs" severity="secondary" target="_blank" />
<LinkButton link="/en/documentation/products/azion-edge-runtime/compatibility/node/" label="go to node.js support reference" severity="secondary" target="_blank" />


Learn how to install the Azion CLI with a step-by-step tutorial. Watch now on Azion's YouTube channel.
## Web Frameworks

<iframe width="560" height="315" src="https://www.youtube.com/embed/uIuiJPtVIww?si=G_q0_rYyGdVcd2CU" loading="lazy" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
The CLI works with [Azion Bundler](https://github.com/aziontech/bundler), an open-source framework adapter that enables popular web frameworks to run on the edge. Supported frameworks include Next.js, React, Vue, Angular, Astro, and many more.

<LinkButton link="/en/documentation/products/build/develop-with-azion/frameworks-specific/overview/" label="View supported frameworks" severity="secondary" target="_blank" />
<LinkButton link="/en/documentation/products/devtools/azion-edge-runtime/frameworks-compatibility/" label="Framework compatibility reference" severity="secondary" target="_blank" />
Original file line number Diff line number Diff line change
Expand Up @@ -16,40 +16,45 @@ menu_namespace: cliMenuAlpha
import Code from '~/components/Code/Code.astro'
import LinkButton from 'azion-webkit/linkbutton'

A **Azion CLI** é uma interface de linha de comando (CLI) [open source](https://github.com/aziontech/azion-CLI/) que permite interagir com a Azion Web Platform pelo terminal. Você pode usar a Azion CLI para:
A **Azion CLI** é uma interface de linha de comando (CLI) [open source](https://github.com/aziontech/azion-cli/) que permite interagir com a Azion Web Platform pelo terminal. Com a Azion CLI, você pode:

- Inicializar, criar e implantar applications.
- Criar aplicações Jamstack.
- Gerenciar as applications na plataforma.
- Ter um servidor de desenvolvimento local em execução.
- Vincular um projeto existente a uma application da Azion.
- Gerenciar todos os produtos Azion através do terminal.
- Criar automação usando scripts ou pipelines de CI/CD.
- Provisionar múltiplos serviços que compõem sua aplicação com poucos comandos.
- Gerenciar suas configurações da Azion como código.
- Inicializar, criar e implantar edge applications com um único comando.
- Gerenciar todos os produtos e configurações da Azion como código.
- Executar um servidor de desenvolvimento local para testes.
- Automatizar workflows usando scripts ou pipelines de CI/CD.

A Azion disponibiliza um conjunto de opções para interagir com os produtos da plataforma, tais como:
A Azion CLI é desenvolvida em Go e interage com os produtos da Azion através do [Azion SDK (Go)](/pt-br/documentacao/devtools/sdk/go/). Você também pode interagir com a Azion usando o [Terraform Provider](/pt-br/documentacao/produtos/terraform-provider/) ou a [Azion API](https://api.azion.com/).

- [Azion Terraform Provider](/pt-br/documentacao/produtos/terraform-provider/)
- [Azion API](https://api.azion.com/)
- [Azion SDK (Go)](/pt-br/documentacao/devtools/sdk/go/)
---

## Início Rápido

A Azion CLI é desenvolvida em Go e interage com os produtos da Azion através do Azion SDK (Go).
Comece a usar a Azion CLI em segundos:

<Code lang="bash" code={`curl -fsSL https://cli.azion.app/install.sh | bash
azion login
azion init
azion deploy`} />

---

## Instalar a Azion CLI

### Download
### Recomendado: Script Remoto

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.
A maneira mais rápida de instalar a Azion CLI é usando o script de instalação remota:

:::note
<Code lang="bash" code={`curl -fsSL https://cli.azion.app/install.sh | bash`} />

Se você escolher usar o Homebrew, Chocolatey, ou Windows Package Manager (Winget), a etapa anterior não será necessária.
### Gerenciadores de Pacotes

Alternativamente, você pode instalar usando seu gerenciador de pacotes preferido.

:::note
Se você escolher usar o Homebrew, Chocolatey, ou Windows Package Manager (Winget), nenhum download manual é necessário.
:::

Escolha uma das seguintes opções:
Para **RPM**, **Dpkg**, **apk**, ou **.deb**, vá para a [página de lançamentos](https://github.com/aziontech/azion-cli/releases) e faça o download do pacote desejado, então execute:

import Tabs from '~/components/tabs/Tabs';

Expand Down Expand Up @@ -145,41 +150,10 @@ Usando o **Windows Package Manager**:

---

## Web frameworks
## Web Frameworks

A CLI trabalha em conjunto com um *framework adapter* de código aberto chamado [Azion Bundler](https://github.com/aziontech/bundler). O Azion Bundler adapta uma variedade de **web frameworks** para serem executados no edge.
A CLI trabalha com o [Azion Bundler](https://github.com/aziontech/bundler), um adaptador de frameworks open source que permite que frameworks web populares sejam executados no edge. Os frameworks suportados incluem Next.js, React, Vue, Angular, Astro e muitos outros.

A Azion utiliza os termos `compute` e `deliver` para descrever os modos operacionais das aplicações dentro de sua estrutura:

| Modo | Descrição |
| ------- | --------- |
| Compute | Projetado para aplicações que requerem processamento computacional no Edge, seja para a Renderização Server-Side (SSR) do Front-End ou para tarefas de Back-End. No Modo Compute, a Azion permite a execução de código e o processamento de conteúdo dinâmico no edge para aprimorar o desempenho e a responsividade. |
| Deliver | Adaptado para frameworks que se concentram principalmente no tratamento e roteamento de solicitações de entrada no edge, com ênfase em servir eficientemente arquivos estáticos. Embora as aplicações no modo deliver não executem código dinâmico, elas se destacam na otimização da entrega de conteúdo estático aos usuários finais, garantindo assim uma distribuição de conteúdo suave e rápida. |

Os frameworks disponíveis que executam aplicações **estáticas** (deliver) incluem:

- [Angular](/pt-br/documentacao/produtos/cli/frameworks/angular/)
- [Astro](/pt-br/documentacao/produtos/cli/frameworks/astro/)
- [Hexo](/pt-br/documentacao/produtos/cli/frameworks/hexo/)
- [Next.js](/pt-br/documentacao/produtos/cli/frameworks/next/)
- [React](/pt-br/documentacao/produtos/cli/frameworks/react/)
- [Vite](/pt-br/documentacao/produtos/cli/frameworks/vite/)
- [Vue](/pt-br/documentacao/produtos/cli/frameworks/vue/)
- JavaScript
- TypeScript
- Rustwasm
- Emscripten
- Gatsby
- Jekyll
- Svelte
- Eleventy

Para aplicações que requerem processamento no edge (compute) em vez de apenas a entrega de conteúdo:

<LinkButton link="/pt-br/documentacao/runtime-api/frameworks-suportados/nextjs/" label="compatibilidade entre a Azion e o Next.js" severity="secondary" target="_blank" />
<LinkButton link="/pt-br/documentacao/produtos/devtools/azion-edge-runtime/compatibilidade-frameworks/" label="saiba mais sobre os Web frameworks suportados" severity="secondary" target="_blank" />
<LinkButton link="/pt-br/documentacao/produtos/devtools/azion-edge-runtime/compatibilidade/node/" label="saiba mais sobre o suporte ao Node.js" severity="secondary" target="_blank" />
<LinkButton link="/pt-br/documentacao/produtos/edge-application/edge-functions/runtime-apis/javascript/" label="saiba mais sobre as Web APIs suportadas" severity="secondary" target="blank" />

---
<LinkButton link="/pt-br/documentacao/produtos/build/develop-with-azion/frameworks-specific/visao-geral/" label="Ver frameworks suportados" severity="secondary" target="_blank" />
<LinkButton link="/pt-br/documentacao/produtos/devtools/azion-edge-runtime/compatibilidade-frameworks/" label="Referência de compatibilidade" severity="secondary" target="_blank" />

1 change: 1 addition & 0 deletions tmp/lib
Submodule lib added at 7329a2
Loading