Skip to content
Back to archipelago.banuacoder.com

Getting Started

Installing & Setting Up Archipelago ​

What you'll learn ​

  • Installing the Archipelago CLI from pub.dev
  • Running archipelago doctor to verify your environment
  • Authenticating with your Archipelago account
  • Understanding the CLI output and common troubleshooting steps

Prerequisites ​

Before you begin, make sure you have the following installed:

  • Flutter SDK (3.47.0 or later, generated projects require it; use 3.47.8 or later, see the note on the TLS certificate fix in Upgrading generated packages)
  • Dart SDK (3.13.0 or later for generated projects, and 3.12.0 or later for the CLI itself)
  • Git

Step 1: Install the CLI ​

Install Archipelago globally via pub.dev:

bash
dart pub global activate archipelago_cli

Verify the installation:

bash
archipelago --version

Step 2: Run Doctor ​

The doctor command checks your environment for required tools and configurations:

bash
archipelago doctor

This verifies:

  • Dart SDK, Flutter SDK and Git
  • Dart tools such as FVM, Mason CLI and Melos (run archipelago doctor --fix to install missing ones)
  • Cached bricks
  • API connectivity and your login status

Step 3: Authenticate ​

Log in to your Archipelago account to access your tier's bricks:

bash
archipelago auth login

This prints a short code and opens the sign-in page in your browser. Sign in or create a free account, type the code on the page, and click Authorize. The CLI signs in by itself, and your token is stored locally.

Step 4: Verify Setup ​

Run a quick check to confirm everything is working:

bash
archipelago auth status

The output shows your account email, subscription tier and local brick cache details.

Troubleshooting ​

IssueSolution
command not foundEnsure ~/.pub-cache/bin is in your PATH
Doctor reports missing MasonRun archipelago doctor --fix, or dart pub global activate mason_cli
Browser does not open for loginOpen the link the CLI prints, or create a token in the dashboard under CLI Tokens and run archipelago auth login --token <token>

Next Steps ​

Now that you have Archipelago installed, head to Creating Your First Project to scaffold a full monorepo.