Intalling Butter

Software requirements

  1. Windows 10 or higher
  2. Git 2.27 or higher
  3. .NET 9 or higher

How to install Butter

  1. Clone the Butter repository:

    git clone https://github.com/loic-sharma/butter.git
    
  2. Add butter\bin to your PATH environment variable:

    1. Open the Windows Start menu and search for environment variables
    2. Click on Edit environment variables for your account
    3. In the User variables section, select the Path variable and click Edit...
    4. Click New and add the path to the butter\bin directory (e.g., C:\path\to\butter\bin)
  3. Use the doctor command to check if everything is set up correctly:

    butter doctor
    

    Fix any issues that are reported.

Create your first app

  1. Create a new Flutter app using the Butter tool:

    butter create hello_world
    

    This creates a new Flutter app in the hello_world directory.

  2. Navigate to the app directory:

    cd hello_world
    

Run your first app

butter run -d butter