All apps/Azion CLI

Azion CLI

azion

CLI for the Azion service

Runs as azion|macOS, Linux, Windows|www.azion.com

Command form

ai-draft · 5 tasks · 25 fields

Create, build and deploy an Azion project and read function logs. Login, profiles, dev server, sync and the other commands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui azion

azion init

Create a project
Create a projectExample values, fixed in this page — nothing here reaches a terminal
Basic
Application name*
string
Package manager
string
Skip the final questions
--auto
TasksEach one presets the form for one job
New project
namepackage_managerauto
ParametersOnly these flags are editable in the form
Application name
Creates the project in a folder with this name.
string
--name
Package manager
string
--package-managernpmyarnpnpm
Skip the final questions
boolean
--auto
Build and deploy locally
boolean
--local
Skip the framework build
boolean
--skip-framework-build

azion build

Build the project
Build the projectExample values, fixed in this page — nothing here reaches a terminal
Basic
azion.config file
file
Preset
string
Skip the framework build
--skip-framework-build
TasksEach one presets the form for one job
Build
config_filepresetskip_framework_build
ParametersOnly these flags are editable in the form
azion.config file
path
--config-file
Config folder
Folder holding azion.json and args.json. Default azion.
path
--config-dir
Code entry point
Default ./main.js.
string
--entry
Preset
Names are the ones azion list presets prints.
string
--preset
Skip the framework build
boolean
--skip-framework-build

azion deploy

Deploy the project
Deploy the projectExample values, fixed in this page — nothing here reaches a terminal
Basic
Build and deploy locally
--local
Do not ask questions
--auto
Sync azion.json with remote
--sync
TasksEach one presets the form for one job
Deploy
autolocalsync
Preview a local deploy
localdry_run
ParametersOnly these flags are editable in the form
Static files folder
path
--path
Build and deploy locally
boolean
--local
Dry run
List the steps without running them.
boolean
--dry-run
Do not ask questions
boolean
--auto
Fail instead of prompting
boolean
--no-prompt
Skip the build
boolean
--skip-build
Skip the framework build
boolean
--skip-framework-build
Sync azion.json with remote
boolean
--sync
.env file
Default .edge/.env.
path
--env
azion.config file
path
--config-file
Upload workers
integer
--workers

azion logs cells

Function logs
Function logsExample values, fixed in this page — nothing here reaches a terminal
Basic
Function ID
string
Formatted layout
--pretty
Follow
--tail
TasksEach one presets the form for one job
Follow function logs
function_idtailpretty
ParametersOnly these flags are editable in the form
Function ID
Without it, shows logs of every function.
string
--function-id
Entries at a time
string
--limit
Formatted layout
boolean
--pretty
Follow
boolean
--tail
SourcesEvery flag above is checked against these
doc
azion init [flags] --auto———Skips the questions about a local development server and a deploy at the end of the command. --local———Runs the build and the deploy on your machine when you deploy the project from this command. --name—string—Name of the application. The command creates the project in a folder with this name. Without it, the command asks for the…
manual2026-10-27

www.azion.com

doc
azion build [flags] --config-dir—string"azion"Relative path to the folder that holds your azion.json and args.json files. --config-file—string—Path to the azion.config file to build with, such as azion.staging.config.cjs. --entry—string./main.jsCode entry point of the build. --preset—string—Preset to build the project with, when you want a preset other than…
manual2026-10-27

www.azion.com

doc
azion deploy [flags] --auto———Runs the whole command without stopping for a question. --config-dir—string"azion"Relative path to the folder that holds your azion.json and args.json files. --config-file—string—Path to the azion.config file to deploy with, such as azion.staging.config.cjs. --dry-run———Lists the steps the deploy would run, without running them.…
manual2026-10-27

www.azion.com

doc
azion logs cells [flags] --function-id—string—ID of the function whose logs you want. Without it, the command shows the logs of every function. --limit—string"100"Number of log entries the command shows at a time. --pretty———Prints the logs in a formatted layout. --tail———Keeps the command running and prints logs as they arrive, like tail -f.
manual2026-10-27

www.azion.com

Before it fills your prompt, Otty checks the installed azion against its version. A form that does not match your version is not offered.