Quick Start
This guide walks you through installing Shorebird and integrating it into your Flutter app.
Prerequisites
Section titled “Prerequisites”- Flutter 3.24.0 or later (install Flutter)
gitinstalled locally
Installation
Section titled “Installation”-
Sign up for a free Shorebird account.
CREATE AN ACCOUNT
-
Install Shorebird.
Paste the following into any AI assistant (Claude, ChatGPT, etc.) for guided installation:
Run the install script for your platform:
This installs
shorebirdinto~/.shorebird/binand adds it to yourPATH. It also installs a bundled copy of Flutter at~/.shorebird/bin/cache/flutter— modified to support code push and separate from your existing Flutter install.Clone the repository into the directory where you want Shorebird installed:
Add the
binfolder to yourPATH, for example:Run
shorebird --helpto see all available commands. -
Verify your setup.
Restart your terminal to reload your
PATH, then verify your setup by running the following command:Example output:
-
Log in to your Shorebird account.
shorebird loginopens a browser window for authentication. Return to your terminal after logging in. -
Integrate Shorebird into your Flutter app.
Create a new Flutter app with Shorebird:
In your Flutter app’s root directory, run:
This creates a
shorebird.yamlfile containing yourapp_id. Yourapp_idis not secret and can be committed to source control.
Keeping Shorebird up to date
Section titled “Keeping Shorebird up to date”To update your local Shorebird CLI to the latest version, run:
This checks for new commits on the stable branch of Shorebird and updates your
local installation if a newer version is available. If you are already up to
date, it will tell you so.
Sample apps
Section titled “Sample apps”If you want to see Shorebird in action in a production-like application, check out these samples: