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.
Creating your own Step is as simple as running a bitrise CLI (v1.6.1+) command and following the guide it prints. You can generate Steps using either the Bash or Go...
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...