Starship runs on macOS 10.15 Catalina and later. The build process uses CMake with the Ninja generator and requires Xcode command-line tools plus a handful of Homebrew packages. Install Ninja for the best possible build performance.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/HarbourMasters/Starship/llms.txt
Use this file to discover all available pages before exploring further.
You must clone the repository with
--recursive, or run git submodule update --init after cloning, to pull in the libultraship submodule. The build will fail without it.Prerequisites
Xcode Command-Line Tools
You need either the full Xcode IDE or the lightweight Xcode Command-Line Tools. To install the command-line tools only, run:Homebrew Packages
Install all required libraries via Homebrew:Building Starship
Configure CMake
Generate a Ninja build tree in the The project targets macOS 10.15 (Catalina) as the minimum deployment version, set via
build-cmake directory:CMAKE_OSX_DEPLOYMENT_TARGET in CMakeLists.txt.If you are using Visual Studio Code, the CMake Tools extension lets you configure, build, and debug with a single click.
Generating a Distributable
After a successful build, generate a macOS distributable package with:Additional CMake Targets
Clean
Remove all build artefacts and force a full rebuild on the next run:CI Setup for Forks
Starship’s CI pipeline uses GitHub Actions. The Extract Assets step requires a self-hosted runner because it needs access to your ROM file. To configure this on your own fork:- Go to Settings → Actions → Runners in your GitHub repository.
- Add a new self-hosted runner and assign it the
asset-buildertag. - Follow GitHub’s documentation to configure the runner as a service.