# Initializing a Bitrise project locally

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:

1. [Install the Bitrise CLI](/bitrise-ci/bitrise-cli/installing-and-updating-the-bitrise-cli) on your computer.
1. `bitrise local init` needs Go to run.

   :::note[Installing Go]

   If you don't have Go installed on your computer, `bitrise local init` will automatically install it for you.

   :::
1. Start the `bitrise local init` command:

   ```bash
   bitrise local init
   ```
1. Wait while the command runs all available scanners to determine your project type.
1. Depending on the detected project type, the scanner asks for some input. Follow the instructions.

   For example, with an iOS project, it asks the user to specify an export method:

   ```yaml
   Select: ipa export method
   Please select from the list:
   [1] : app-store
   [2] : ad-hoc
   [3] : enterprise
   [4] : development
   (type in the option's number, then hit Enter) :
   ```

Based on the scanner outputs, the command generates a Bitrise configuration, with a `bitrise.yml` file. In the automatically generated Workflows, every required input will have a valid value.

The command also generates a `.bitrise.secrets.yml` file. You can store your Secrets in this file.
