Skip to main content
BRICKS CLI is a command-line tool for managing your BRICKS workspace. It provides full control over BRICKS Foundation devices, applications, modules, and media — directly from the terminal.

What you can do

  • Manage BRICKS Foundation — list, monitor, control, take screenshots, and dispatch group actions (see BRICKS Foundation for device setup)
  • Build applications — create, update, release, and deploy BRICKS applications
  • Work with modules — create reusable modules and manage their lifecycle
  • Upload media — upload files to Media Flow with tagging, AI analysis, and image processing
  • Initialize projects — scaffold BRICKS Project codebases from existing applications or modules
  • Interactive mode — browse and control your workspace in a terminal UI
  • DevTools — discover devices on your local network and connect to their DevTools
  • MCP server — expose workspace tools to AI agents via the Model Context Protocol

Installation

# npm
npm install -g @fugood/bricks-cli

# Bun
bun add -g @fugood/bricks-cli
Verify the installation:
bricks --version

Quick start

# Login with a one-time passcode from BRICKS Controller
bricks auth login <passcode>

# List your BRICKS Foundation devices
bricks device list

# List your applications
bricks app list

# Launch interactive mode
bricks interactive

Next steps

Authentication

Set up profiles and manage workspace credentials.

Command reference

Full reference for every CLI command and option.