2019-10-17 17:18:12 +01:00
|
|
|
# balena
|
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
> Interact with the balenaCloud, openBalena and the balena API from the command-line.
|
2019-10-17 17:18:12 +01:00
|
|
|
> More information: <https://www.balena.io/docs/reference/cli/>.
|
|
|
|
|
2021-05-14 01:42:15 +01:00
|
|
|
- Log in to the balenaCloud account:
|
2019-10-17 17:18:12 +01:00
|
|
|
|
|
|
|
`balena login`
|
|
|
|
|
|
|
|
- Create a balenaCloud or openBalena application:
|
|
|
|
|
|
|
|
`balena app create {{app_name}}`
|
|
|
|
|
|
|
|
- List all balenaCloud or openBalena applications within the account:
|
|
|
|
|
|
|
|
`balena apps`
|
|
|
|
|
|
|
|
- List all devices associated with the balenaCloud or openBalena account:
|
|
|
|
|
|
|
|
`balena devices`
|
|
|
|
|
|
|
|
- Flash a balenaOS image to a local drive:
|
|
|
|
|
|
|
|
`balena local flash {{path/to/balenaos.img}} --drive {{drive_location}}`
|