Installing FirmwareCI CLI
This guide covers installing and authenticating the fwci CLI tool, which you’ll use to manage FirmwareCI infrastructure in your git repositories.
Prerequisites
- A FirmwareCI account with valid credentials
- Git installed on your system
Installation
Download and install the fwci CLI tool for your operating system. All available downloads (including ARM64, .deb, .rpm, .apk) are listed on the downloads page.
Linux (x64):
Authentication
Log in using your FirmwareCI credentials. These credentials are provided by either FirmwareCI admins or the administrators of your FirmwareCI organization.
Example:
Self-hosted instances
If you use a self-hosted FirmwareCI instance, point the CLI to its API with the –api flag when logging in. For example:
Choosing an Organization
Everything the CLI does — running a job, listing DUTs, managing files — happens inside one organization.
If you belong to a single organization, there is nothing to do: the server resolves it from your account and every command just works.
If you belong to several, the server will not guess. An org-scoped command fails until you pick one:
List the organizations you belong to, then switch to one. Nothing is selected yet, so no entry is marked:
Afterwards fwci org list marks the active organization with *:
The choice is stored with your credentials and applies to every later command,
so you only do this once per organization you work in. fwci org use takes the
organization’s name (matched case-insensitively) or its ID.
A pending invite cannot be selected — accept it in the web app first:
Logging in again re-resolves the selection for the new credentials: an account with a single organization is selected automatically, one with several starts unselected.
Verification
Verify your installation and authentication:
Next Steps
Now that the CLI is installed and authenticated, proceed to Repository Setup to initialize the .firmwareci infrastructure in your git repository.