← 返回命令列表

Linux command

balena 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Login

balena login

List

balena devices

Push

balena push [myApp]

SSH

balena ssh [device-uuid]

View

balena logs [device-uuid]

Example

balena app create [myApp]

说明

balena is the command-line interface for Balena (formerly Resin.io), a platform for deploying and managing IoT device fleets. It enables building, deploying, and monitoring containerized applications on edge devices. The CLI provides tools for device provisioning, application deployment, remote access, and fleet management.

参数

login
Authenticate with Balena Cloud
push _application_
Deploy code to application
devices
List devices
ssh _device_
SSH into device
logs _device_
View device logs
scan
Scan for local Balena devices
os
OS image management commands
env
Environment variable management
--application, -a _name_
Application name
--device, -d _uuid_
Device UUID

FAQ

What is the balena command used for?

balena is the command-line interface for Balena (formerly Resin.io), a platform for deploying and managing IoT device fleets. It enables building, deploying, and monitoring containerized applications on edge devices. The CLI provides tools for device provisioning, application deployment, remote access, and fleet management.

How do I run a basic balena example?

Run `balena login` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does login do in balena?

Authenticate with Balena Cloud