# Azion CLI

import Code from '~/components/Code/Code.astro'
import DocButton from '~/components/webkit/DocButton.vue';

**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 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.

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/).

---

## Quick Start

Get started with Azion CLI in seconds:

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

---

## Installing Azion CLI

### 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`} />

### Package Managers

Alternatively, you can install using your preferred package manager.

:::note
If you choose to use Homebrew, Chocolatey, or Windows Package Manager (Winget), no manual download is required.
:::

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';

<Tabs client:visible sharedStore="package-managers">
<Fragment slot="tab.rpm">RPM</Fragment>
<Fragment slot="tab.dpkg">dpkg</Fragment>
<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" />
<Code lang="shell" code={`sudo rpm -i <downloaded_file>`} />
</Fragment><Fragment slot="panel.dpkg">
<slot name="dpkg" />
<Code lang="shell" code={`sudo dpkg -i <downloaded_file>`} />
</Fragment><Fragment slot="panel.apk">
<slot name="apk" />
<Code lang="shell" code={`apk add <downloaded_file>`} />
</Fragment>
<Fragment slot="panel.brew">
<slot name="brew" />
<Code lang="shell" code={`brew install azion`} />
</Fragment>
<Fragment slot="panel.deb">
<slot name="deb" />
<Code lang="shell" code={`sudo apt install  ./<download_file_path>`} />
</Fragment>

<Fragment slot="panel.windows">
<slot name="windows" />
Using **Chocolatey**:
<Code lang="shell" code={`choco install azion`} />
Using **Windows Package Manager**:

<Code lang="shell" code={`winget install aziontech.azion`} />
</Fragment>
</Tabs>

---

### Updating

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, Chocolatey, or Windows Package Manager (Winget), the previous step isn't necessary.
:::

<Tabs client:visible sharedStore="package-managers">
<Fragment slot="tab.rpm">RPM</Fragment>
<Fragment slot="tab.dpkg">dpkg</Fragment>
<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" />
<Code lang="shell" code={`sudo rpm -i <downloaded_file>`} />
</Fragment><Fragment slot="panel.dpkg">
<slot name="dpkg" />
<Code lang="shell" code={`sudo dpkg -i <downloaded_file>`} />
</Fragment><Fragment slot="panel.apk">
<slot name="apk" />
<Code lang="shell" code={`apk add <downloaded_file>`} />
</Fragment>
<Fragment slot="panel.brew">
<slot name="brew" />
<Code lang="shell" code={`brew upgrade azion`} />
</Fragment>
<Fragment slot="panel.deb">
<slot name="deb" />
<Code lang="shell" code={`sudo apt install  ./<download_file_path>`} />
</Fragment>
<Fragment slot="panel.windows">
Using **Chocolatey**:
<Code lang="shell" code={`choco upgrade azion`} />

Using **Windows Package Manager**:
<Code lang="shell" code={`winget upgrade aziontech.azion`} />
</Fragment>
</Tabs>

---

## Web Frameworks

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.

<DocButton href="/en/documentation/products/build/develop-with-azion/frameworks-specific/overview/" label="View supported frameworks" kind="secondary" target="_blank" size="medium" />
<DocButton href="/en/documentation/products/devtools/azion-edge-runtime/frameworks-compatibility/" label="Framework compatibility reference" kind="secondary" target="_blank" size="medium" />