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 directly:
Linux:
curl -L https://github.com/firmwareci/fwci/releases/latest/download/fwci-linux-amd64 -o fwci
chmod +x fwci
sudo mv fwci /usr/local/bin/Authentication
Log in using your FirmwareCI credentials. These credentials are provided by either FirmwareCI admins or the administrators of your FirmwareCI organization.
fwci login <email> <password>Example:
$ fwci login user@example.com mypassword
Successfully logged in as user@example.comSelf-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:
fwci login --api https://ci.example.com/api user@example.com mypasswordVerification
Verify your installation and authentication:
$ fwci version
Logged in as fabian.wienand@blindspot.software in git@github.com:BlindspotSoftware/test-repository.git@7a6102c
FirmwareCI CLI v0.14Next Steps
Now that the CLI is installed and authenticated, proceed to Repository Setup to initialize the .firmwareci infrastructure in your git repository.