All apps/Fastly CLI

Fastly CLI

fastly

Build, deploy and configure Fastly services from your terminal.

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

Command form

ai-draft · 4 tasks · 16 fields

Purge cache, build and deploy Compute packages. Everything else is left out.

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

fastly purge

Purge cache

Pick exactly one of URL, key or all.

Purge cacheExample values, fixed in this page — nothing here reaches a terminal
Basic
Service ID
string
URL*
string
Advanced
Soft purge
--soft
TasksEach one presets the form for one job
Purge a URL
service_idurlsoft
Purge a key
service_idkeysoft
ParametersOnly these flags are editable in the form
Service ID
string
--service-id
URL
string
--url
Surrogate key
string
--key
Purge everything
boolean
--all
Soft purge
boolean
--soft

fastly compute build

Build Compute package
Build Compute packageExample values, fixed in this page — nothing here reaches a terminal
Basic
Package name
string
Language
string
TasksEach one presets the form for one job
Build
namelanguage
ParametersOnly these flags are editable in the form
Package name
string
--name
Language
string
--language
Include source
boolean
--include-source
Timeout (s)
integer
--timeout
Skip verification
boolean
--skip-verification

fastly compute deploy

Deploy Compute package
Deploy Compute packageExample values, fixed in this page — nothing here reaches a terminal
Basic
Service ID
string
Package
file
Comment
string
TasksEach one presets the form for one job
Deploy
service_idpackagecomment
ParametersOnly these flags are editable in the form
Service ID
string
--service-id
Service name
string
--service-name
Package
path
--package
Comment
string
--comment
Domain
string
--domain
Version
string
--version
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

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