FleetbaseFleetbase

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 --version

What 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:

OptionDescription
-v, --versionOutput the CLI version
-r, --registry [url]Override the registry URL (default: https://registry.fleetbase.io)
--helpShow 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 publish

Next Steps

Fleetbase CLI | Fleetbase