YAML mode & Bitrise CLI

Bitrise is a collection of tools and services to help you with the development and automation of your software projects, with a main focus on mobile apps. This section is dedicated to:

Bitrise CLI - the open source, offline, automation runner

This open source runner, referred to as Bitrise CLI or bitrise, is a tool which you can install and run on your own Mac/PC! This CLI is exactly the same as what’s used on What it means is that when a build starts on, a virtual machine is created for the build with the Bitrise CLI preinstalled. Once the virtual machine is ready, the build is performed through the Bitrise CLI.

Do I need a account to use the Bitrise CLI offline runner?

You do not need a account to use the offline automation runner, the only requirement is to install Bitrise CLI on your Mac/PC.

To run a Bitrise build on your machine, you can install our open source runner and use the bitrise command to execute your workflows locally. It’s a great help when you’re developing steps, debugging builds, or just want to use Bitrise for any kind of automation on your machine.

bitrise.yml - the configuration format

The configuration format of the Bitrise CLI is referred to as bitrise.yml. This is the expected file name the configuration should be saved with.

If you save the configuration into a file named bitrise.yml, you can simply bitrise run in that directory without specifying any configuration path! This way the CLI will read the configuration from bitrise.yml automatically. (Technically the Bitrise CLI can also accept the configuration in JSON format.)

Explore bitrise.yml

Learn more about what else you can do with bitrise.yml:

Step Library (StepLib)

The StepLib is the collection of the build steps you can use in your bitrise.yml. The steps in the official Bitrise StepLib are all open source. You can write your own too and then share it with others!

You can also create your own Step Library if you want to, but it’s usually easier to just reference your steps with their git clone URL directly if you don’t want to share it with others.

Custom StepLib support in tools

The Bitrise CLI tools can work with custom step libraries, but other tools like the Visual Workflow Editor on might be limited in functionality for steps not available in the main Bitrise StepLib.

Custom StepLibs can also provide fallbacks (alternative download URLs, caches), automatic and periodic checks to provide the best reliability, but you get all these for free if you use the main Bitrise StepLib.

About Steps

Learn more about Steps here:

Why to use the StepLib and Steps instead of ad-hoc build scripts?

Same reason why code libraries / dependencies are awesome:

We frequently push features as Steps instead of building it into the core tools. This allows faster and versioned iterations, and updating the parts independently. We try to maintain compatibility as much as possible, so older versions can work too, providing a way to upgrade when it’s appropriate for you.