When you add a new app to Bitrise, we detect the type of your project and generate a basic
bitrise.yml file for you, with workflows that are appropriate for your project type.
With the Bitrise CLI, you can make this work on your own computer. You will need:
Once you are ready, open your Terminal/Command Line Interface and go to the folder of your project. Start the plugin:
$ bitrise init
The bitrise-init plugin will run all the available scanners to determine the type of the project. These scanners are:
- React Native
- React Native Expo
Depending on the project type, the tool asks for user input: for example, with an iOS project, it asks the user to specify an export method.
Select: ipa export method Please select from the list:  : app-store  : ad-hoc  : enterprise  : development (type in the option's number, then hit Enter) :
Based on the scanner outputs, the plugin generates a Bitrise configuration, with a
bitrise.yml file. In the automatically generated workflows, every required input will have a valid value.
The plugin also generates a
bitrise.secrets.yml file. You can store secret Environment Variables in this.
Contribute to the bitrise-init project by creating and submitting your own project type scanner!
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.
Any tool that can edit `bitrise.yml` can add custom properties to it. This way you can add special properties or notes to your env vars, or even try new configurations...
The open source Bitrise CLI / runner is responsible for interpreting and executing the build configuration. Using the Bitrise CLI you can run the same configuration on any compatible Mac/PC,...