Fleetbase CLI
The Fleetbase CLI (flb) is the official command-line tool for working with Fleetbase. It does three things:
- Installs Fleetbase on your own infrastructure with an interactive Docker-based setup wizard
- Manages extensions on a running Fleetbase instance — search, install, uninstall
- Publishes extensions to the Fleetbase Extension Registry — scaffold, bundle, version-bump, publish
npm install -g @fleetbase/cli
flb --versionWhat You Can Do
Install Fleetbase
Spin up a self-hosted Fleetbase instance with Docker via the interactive wizard.
Manage Extensions
Search, install, and uninstall extensions on a running Fleetbase instance.
Publish Extensions
Scaffold a new extension, bundle it, and publish it to the registry.
Global Options
These options work with every command:
| Option | Description |
|---|---|
-v, --version | Output the CLI version |
-r, --registry [url] | Override the registry URL (default: https://registry.fleetbase.io) |
--help | Show help for the current command |
Quick Reference
# Install Fleetbase on your machine
flb install-fleetbase
# Find an extension on the registry
flb search
# Install an extension into your instance
flb install fleetbase/storefront
# Create a new extension
flb scaffold
# Publish your extension to the registry
flb bundle --upload
flb publishNext Steps
- Requirements — what you need before installing the CLI
- Installation — install the CLI globally via npm
- Install Fleetbase — install a self-hosted Fleetbase instance