1 | # eas-cli
|
2 |
|
3 | EAS command line tool
|
4 |
|
5 | [![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
|
6 | [![Version](https://img.shields.io/npm/v/eas-cli.svg)](https://npmjs.org/package/eas-cli)
|
7 | [![Downloads/week](https://img.shields.io/npm/dw/eas-cli.svg)](https://npmjs.org/package/eas-cli)
|
8 | [![License](https://img.shields.io/npm/l/eas-cli.svg)](https://github.com/expo/eas-cli/blob/main/package.json)
|
9 |
|
10 | * [Installation](#installation)
|
11 | * [Usage](#usage)
|
12 | * [Commands](#commands)
|
13 |
|
14 | # Installation
|
15 |
|
16 | ```sh
|
17 | npm install -g eas-cli
|
18 | # or
|
19 | yarn global add eas-cli
|
20 | ```
|
21 |
|
22 | # Usage
|
23 |
|
24 | ```sh
|
25 | eas COMMAND
|
26 | # runs the command
|
27 | eas (-v|--version|version)
|
28 | # prints the version
|
29 | eas --help COMMAND
|
30 | # outputs help for specific command
|
31 | ```
|
32 |
|
33 | # Commands
|
34 |
|
35 |
|
36 | * [`eas account:login`](#eas-accountlogin)
|
37 | * [`eas account:logout`](#eas-accountlogout)
|
38 | * [`eas account:view`](#eas-accountview)
|
39 | * [`eas analytics [STATUS]`](#eas-analytics-status)
|
40 | * [`eas build`](#eas-build)
|
41 | * [`eas build:cancel [BUILD_ID]`](#eas-buildcancel-build_id)
|
42 | * [`eas build:configure`](#eas-buildconfigure)
|
43 | * [`eas build:list`](#eas-buildlist)
|
44 | * [`eas build:view [BUILD_ID]`](#eas-buildview-build_id)
|
45 | * [`eas credentials`](#eas-credentials)
|
46 | * [`eas device:create`](#eas-devicecreate)
|
47 | * [`eas device:list`](#eas-devicelist)
|
48 | * [`eas device:view [UDID]`](#eas-deviceview-udid)
|
49 | * [`eas help [COMMAND]`](#eas-help-command)
|
50 | * [`eas secret:create`](#eas-secretcreate)
|
51 | * [`eas secret:delete`](#eas-secretdelete)
|
52 | * [`eas secret:list`](#eas-secretlist)
|
53 | * [`eas submit --platform=(android|ios)`](#eas-submit---platformandroidios)
|
54 | * [`eas webhook:create`](#eas-webhookcreate)
|
55 | * [`eas webhook:delete [ID]`](#eas-webhookdelete-id)
|
56 | * [`eas webhook:list`](#eas-webhooklist)
|
57 | * [`eas webhook:update`](#eas-webhookupdate)
|
58 | * [`eas webhook:view ID`](#eas-webhookview-id)
|
59 |
|
60 | ## `eas account:login`
|
61 |
|
62 | log in with your Expo account
|
63 |
|
64 | ```
|
65 | USAGE
|
66 | $ eas account:login
|
67 |
|
68 | ALIASES
|
69 | $ eas login
|
70 | ```
|
71 |
|
72 | _See code: [build/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/account/login.ts)_
|
73 |
|
74 | ## `eas account:logout`
|
75 |
|
76 | log out
|
77 |
|
78 | ```
|
79 | USAGE
|
80 | $ eas account:logout
|
81 |
|
82 | ALIASES
|
83 | $ eas logout
|
84 | ```
|
85 |
|
86 | _See code: [build/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/account/logout.ts)_
|
87 |
|
88 | ## `eas account:view`
|
89 |
|
90 | show the username you are logged in as
|
91 |
|
92 | ```
|
93 | USAGE
|
94 | $ eas account:view
|
95 |
|
96 | ALIASES
|
97 | $ eas whoami
|
98 | ```
|
99 |
|
100 | _See code: [build/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/account/view.ts)_
|
101 |
|
102 | ## `eas analytics [STATUS]`
|
103 |
|
104 | View or change analytics settings
|
105 |
|
106 | ```
|
107 | USAGE
|
108 | $ eas analytics [STATUS]
|
109 | ```
|
110 |
|
111 | _See code: [build/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/analytics.ts)_
|
112 |
|
113 | ## `eas build`
|
114 |
|
115 | Start a build
|
116 |
|
117 | ```
|
118 | USAGE
|
119 | $ eas build
|
120 |
|
121 | OPTIONS
|
122 | -p, --platform=(android|ios|all)
|
123 | --clear-cache Clear cache before the build
|
124 | --local Run build locally [experimental]
|
125 | --non-interactive Run command in --non-interactive mode
|
126 | --profile=profile [default: release] Name of the build profile from eas.json
|
127 | --skip-credentials-check Skip validation of build credentials
|
128 | --skip-project-configuration Skip project configuration
|
129 | --[no-]wait Wait for build(s) to complete
|
130 | ```
|
131 |
|
132 | _See code: [build/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/build/index.ts)_
|
133 |
|
134 | ## `eas build:cancel [BUILD_ID]`
|
135 |
|
136 | Cancel a build.
|
137 |
|
138 | ```
|
139 | USAGE
|
140 | $ eas build:cancel [BUILD_ID]
|
141 | ```
|
142 |
|
143 | _See code: [build/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/build/cancel.ts)_
|
144 |
|
145 | ## `eas build:configure`
|
146 |
|
147 | Configure the project to support EAS Build.
|
148 |
|
149 | ```
|
150 | USAGE
|
151 | $ eas build:configure
|
152 |
|
153 | OPTIONS
|
154 | -p, --platform=(android|ios|all) Platform to configure
|
155 | --allow-experimental Enable experimental configuration steps.
|
156 | ```
|
157 |
|
158 | _See code: [build/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/build/configure.ts)_
|
159 |
|
160 | ## `eas build:list`
|
161 |
|
162 | list all builds for your project
|
163 |
|
164 | ```
|
165 | USAGE
|
166 | $ eas build:list
|
167 |
|
168 | OPTIONS
|
169 | --limit=limit
|
170 | --platform=(all|android|ios)
|
171 | --status=(in-queue|in-progress|errored|finished|canceled)
|
172 | ```
|
173 |
|
174 | _See code: [build/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/build/list.ts)_
|
175 |
|
176 | ## `eas build:view [BUILD_ID]`
|
177 |
|
178 | view a build for your project
|
179 |
|
180 | ```
|
181 | USAGE
|
182 | $ eas build:view [BUILD_ID]
|
183 | ```
|
184 |
|
185 | _See code: [build/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/build/view.ts)_
|
186 |
|
187 | ## `eas credentials`
|
188 |
|
189 | Manage your credentials
|
190 |
|
191 | ```
|
192 | USAGE
|
193 | $ eas credentials
|
194 | ```
|
195 |
|
196 | _See code: [build/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/credentials.ts)_
|
197 |
|
198 | ## `eas device:create`
|
199 |
|
200 | register new Apple Devices to use for internal distribution
|
201 |
|
202 | ```
|
203 | USAGE
|
204 | $ eas device:create
|
205 | ```
|
206 |
|
207 | _See code: [build/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/device/create.ts)_
|
208 |
|
209 | ## `eas device:list`
|
210 |
|
211 | list all registered devices for your account
|
212 |
|
213 | ```
|
214 | USAGE
|
215 | $ eas device:list
|
216 |
|
217 | OPTIONS
|
218 | --apple-team-id=apple-team-id
|
219 | ```
|
220 |
|
221 | _See code: [build/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/device/list.ts)_
|
222 |
|
223 | ## `eas device:view [UDID]`
|
224 |
|
225 | view a device for your project
|
226 |
|
227 | ```
|
228 | USAGE
|
229 | $ eas device:view [UDID]
|
230 | ```
|
231 |
|
232 | _See code: [build/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/device/view.ts)_
|
233 |
|
234 | ## `eas help [COMMAND]`
|
235 |
|
236 | display help for eas
|
237 |
|
238 | ```
|
239 | USAGE
|
240 | $ eas help [COMMAND]
|
241 |
|
242 | ARGUMENTS
|
243 | COMMAND command to show help for
|
244 |
|
245 | OPTIONS
|
246 | --all see all commands in CLI
|
247 | ```
|
248 |
|
249 | _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.0/src/commands/help.ts)_
|
250 |
|
251 | ## `eas secret:create`
|
252 |
|
253 | Create an environment secret on the current project or owner account.
|
254 |
|
255 | ```
|
256 | USAGE
|
257 | $ eas secret:create
|
258 |
|
259 | OPTIONS
|
260 | --name=name Name of the secret
|
261 | --scope=(account|project) [default: project] Scope for the secret
|
262 | --value=value Value of the secret
|
263 | ```
|
264 |
|
265 | _See code: [build/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/secret/create.ts)_
|
266 |
|
267 | ## `eas secret:delete`
|
268 |
|
269 | Delete an environment secret by ID.
|
270 |
|
271 | ```
|
272 | USAGE
|
273 | $ eas secret:delete
|
274 |
|
275 | OPTIONS
|
276 | --id=id ID of the secret to delete
|
277 |
|
278 | DESCRIPTION
|
279 | Unsure where to find the secret's ID? Run eas secrets:list
|
280 | ```
|
281 |
|
282 | _See code: [build/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/secret/delete.ts)_
|
283 |
|
284 | ## `eas secret:list`
|
285 |
|
286 | Lists environment secrets available for your current app
|
287 |
|
288 | ```
|
289 | USAGE
|
290 | $ eas secret:list
|
291 | ```
|
292 |
|
293 | _See code: [build/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/secret/list.ts)_
|
294 |
|
295 | ## `eas submit --platform=(android|ios)`
|
296 |
|
297 | Submits build artifact to app store
|
298 |
|
299 | ```
|
300 | USAGE
|
301 | $ eas submit --platform=(android|ios)
|
302 |
|
303 | OPTIONS
|
304 | -p, --platform=(android|ios) For which platform you want to submit a build
|
305 |
|
306 | Android specific options=android-package Android package name (default: expo.android.package
|
307 | from app config)
|
308 |
|
309 | iOS specific options=app-name The name of your app as it will appear on the App
|
310 | Store (default: expo.name from app config)
|
311 |
|
312 | iOS specific options=apple-id Your Apple ID username (you can also set
|
313 | EXPO_APPLE_ID env variable)
|
314 |
|
315 | iOS specific options=apple-team-id Your Apple Developer Team ID
|
316 |
|
317 | iOS specific options=asc-app-id App Store Connect unique application Apple ID
|
318 | number. Providing this param results in skipping
|
319 | app creation step. Learn more:
|
320 | https://expo.fyi/asc-app-id
|
321 |
|
322 | iOS specific options=bundle-identifier Your iOS Bundle Identifier (default:
|
323 | expo.ios.bundleIdentifier from app config)
|
324 |
|
325 | iOS specific options=company-name The name of your company, needed only for the first
|
326 | upload of any app to App Store
|
327 |
|
328 | --id=id ID of the build to submit
|
329 |
|
330 | Android specific options=key Path to the JSON key used to authenticate with
|
331 | Google Play
|
332 |
|
333 | iOS specific options=language [default: en-US] Primary language (e.g. English,
|
334 | German, ...)
|
335 |
|
336 | --latest Submit the latest build for specified platform
|
337 |
|
338 | --path=path Path to the .apk/.aab file
|
339 |
|
340 | Android specific options=(completed|draft|halted|inProgress) [default: completed] Release status (used when
|
341 | uploading new APKs/AABs)
|
342 |
|
343 | iOS specific options=sku An unique ID for your app that is not visible on
|
344 | the App Store, will be generated unless provided
|
345 |
|
346 | Android specific options=(production|beta|alpha|internal|rollout) [default: internal] The track of the application to
|
347 | use
|
348 |
|
349 | Android specific options=(apk|aab) Android archive type
|
350 |
|
351 | --url=url App archive url
|
352 |
|
353 | --verbose Always print logs from Submission Service
|
354 |
|
355 | ALIASES
|
356 | $ eas build:submit
|
357 |
|
358 | EXAMPLES
|
359 | $ eas submit --platform=ios
|
360 | - Fully interactive iOS submission
|
361 |
|
362 | $ eas submit --platform=android
|
363 | - Fully interactive Android submission
|
364 |
|
365 | $ eas submit -p android --latest --key=/path/to/google-services.json
|
366 | - Minimal non-interactive Android submission, however it can ask you for other params if not specified
|
367 |
|
368 | $ EXPO_APPLE_APP_SPECIFIC_PASSWORD=xxx eas submit -p ios --latest --apple-id=user@example.com --asc-app-id=1234567890,
|
369 | - Minimal non-interactive iOS submission, assuming you already have an app in App Store Connect
|
370 | and provide its App ID
|
371 | ```
|
372 |
|
373 | _See code: [build/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/submit.ts)_
|
374 |
|
375 | ## `eas webhook:create`
|
376 |
|
377 | Create a webhook on the current project.
|
378 |
|
379 | ```
|
380 | USAGE
|
381 | $ eas webhook:create
|
382 |
|
383 | OPTIONS
|
384 | --event=(BUILD) [default: BUILD] Event type that triggers the webhook
|
385 |
|
386 | --secret=secret Secret used to create a hash signature of the request payload, provided in the 'Expo-Signature'
|
387 | header.
|
388 |
|
389 | --url=url Webhook URL
|
390 | ```
|
391 |
|
392 | _See code: [build/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/webhook/create.ts)_
|
393 |
|
394 | ## `eas webhook:delete [ID]`
|
395 |
|
396 | Delete a webhook on the current project.
|
397 |
|
398 | ```
|
399 | USAGE
|
400 | $ eas webhook:delete [ID]
|
401 |
|
402 | ARGUMENTS
|
403 | ID ID of the webhook to delete
|
404 | ```
|
405 |
|
406 | _See code: [build/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/webhook/delete.ts)_
|
407 |
|
408 | ## `eas webhook:list`
|
409 |
|
410 | List webhooks on the current project.
|
411 |
|
412 | ```
|
413 | USAGE
|
414 | $ eas webhook:list
|
415 |
|
416 | OPTIONS
|
417 | --event=(BUILD) Event type that triggers the webhook
|
418 | ```
|
419 |
|
420 | _See code: [build/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/webhook/list.ts)_
|
421 |
|
422 | ## `eas webhook:update`
|
423 |
|
424 | Create a webhook on the current project.
|
425 |
|
426 | ```
|
427 | USAGE
|
428 | $ eas webhook:update
|
429 |
|
430 | OPTIONS
|
431 | --event=(BUILD) [default: BUILD] Event type that triggers the webhook
|
432 | --id=id (required) Webhook ID
|
433 |
|
434 | --secret=secret Secret used to create a hash signature of the request payload, provided in the 'Expo-Signature'
|
435 | header.
|
436 |
|
437 | --url=url Webhook URL
|
438 | ```
|
439 |
|
440 | _See code: [build/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/webhook/update.ts)_
|
441 |
|
442 | ## `eas webhook:view ID`
|
443 |
|
444 | View a webhook on the current project.
|
445 |
|
446 | ```
|
447 | USAGE
|
448 | $ eas webhook:view ID
|
449 |
|
450 | ARGUMENTS
|
451 | ID ID of the webhook to view
|
452 | ```
|
453 |
|
454 | _See code: [build/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.17.0/build/commands/webhook/view.ts)_
|
455 |
|