balena
Manage IoT device fleets
TLDR
Login to Balena Cloud
SYNOPSIS
balena command [options]
DESCRIPTION
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.
PARAMETERS
login
Authenticate with Balena Cloudpush application
Deploy code to applicationdevices
List devicesssh device
SSH into devicelogs device
View device logsscan
Scan for local Balena devicesos
OS image management commandsenv
Environment variable management--application, -a name
Application name--device, -d uuid
Device UUID
FEATURES
- Container-based deployments
- Over-the-air updates
- Remote device access
- Environment variable management
- Multi-architecture support
- Device fleet management
WORKFLOW
balena login
# Create app
balena app create myApp
# Push code
cd my-project
balena push myApp
# Monitor
balena logs <device>
CAVEATS
Requires Balena account. Device must run BalenaOS. Internet connectivity needed for cloud features. Some operations require payment plan. Local mode available for offline development.
HISTORY
Balena CLI was developed by Balena (formerly Resin.io) starting around 2013 as a platform for IoT fleet management and edge computing.
