All apps/Expo CLI

Expo CLI

expo

An open-source framework for making universal native apps with React.

Runs as expo, expo-cli|macOS, Linux, Windows|docs.expo.dev

Command form

ai-draft · 4 tasks · 21 fields

Start the dev server, prebuild native projects, export and install packages. Boolean-valued flags are given as true/false.

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

expo start

Start dev server
Start dev serverExample values, fixed in this page — nothing here reaches a terminal
Basic
Project
directory
Port
integer
Host mode
string
TasksEach one presets the form for one job
Start
pathporthost
ParametersOnly these flags are editable in the form
Project
path · positional 0
Port
integer
--port-p
Host mode
string
--host-mlantunnellocalhost
Clear Metro cache
string
--clear-ctruefalse
Dev client
string
--dev-clienttruefalse
URI scheme
string
--scheme
Offline
string
--offlinetruefalse

expo prebuild

Generate native projects
Generate native projectsExample values, fixed in this page — nothing here reaches a terminal
Basic
Project
directory
Platform
string
TasksEach one presets the form for one job
Prebuild
pathplatform
ParametersOnly these flags are editable in the form
Project
path · positional 0
Platform
string
--platform-pallandroidios
Regenerate from scratch
string
--cleantruefalse
Skip install
string
--no-installtruefalse
Template
string
--template

expo export

Export static files
Export static filesExample values, fixed in this page — nothing here reaches a terminal
Basic
Project
directory
Public URL*
string
Platform
string
Output directory
directory
TasksEach one presets the form for one job
Export
pathpublic_urlplatformoutput_dir
ParametersOnly these flags are editable in the form
Project
path · positional 0
Public URL
string
--public-url-p
Platform
string
--platformallandroidios
Output directory
path
--output-dir
Target
string
--target-tmanagedbare
Clear Metro cache
string
--clear-ctruefalse

expo install

Install packages
Install packagesExample values, fixed in this page — nothing here reaches a terminal
Basic
Packages*
string
TasksEach one presets the form for one job
Install
packages
ParametersOnly these flags are editable in the form
Packages
string · positional 0 · repeatable
Use npm
string
--npmtruefalse
Use Yarn
string
--yarntruefalse
SourcesEvery flag above is checked against these
fig
completion

github.com

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 expo against its version. A form that does not match your version is not offered.