---
title: Requirements & Setup
description: A reference page in my new Starlight docs site.
---

import { Steps, Tabs, TabItem } from "@astrojs/starlight/components";

## Flutter Installation

<Tabs>
  <TabItem label="Windows">
  <Steps>
1. Flutter requires [git](https://git-scm.com) which can be installed at [https://git-scm.com/download/win](https://git-scm.com/download/win)

1. Install Puro with the following command:

   ```bash
   Invoke-WebRequest -Uri "https://puro.dev/builds/1.4.8/windows-x64/puro.exe" -OutFile "$env:temp\puro.exe"; &"$env:temp\puro.exe" install-puro --promote
   ```

1. After installing Puro reload your shell and make sure the `puro` command is accessible.

1. Initialize Puro with the latest stable Flutter version:

   ```bash
    puro flutter
   ```

1. Now the commands `flutter` and `dart` should be accessible in your shell. You are all set up with the latest stable Flutter and Dart version! For more infos check out [https://puro.dev/](https://puro.dev/).

</Steps>
  </TabItem>
  <TabItem label="macOS">
    <Steps>

1. Flutter requires [git](https://git-scm.com) which can be installed with [Homebrew](https://brew.sh) for macOS:

   ```bash
   brew install git
   ```

1. Install Puro with the following command:

   ```bash
   curl -o- https://puro.dev/install.sh | PURO_VERSION="1.4.8" bash
   ```

1. After installing Puro reload your shell and make sure the `puro` command is accessible.

1. Initialize Puro with the latest stable Flutter version:

   ```bash
    puro flutter
   ```

1. Now the commands `flutter` and `dart` should be accessible in your shell. You are all set up with the latest stable Flutter and Dart version! For more infos check out [https://puro.dev/](https://puro.dev/).

</Steps>
  </TabItem>
  <TabItem label="Linux">
    <Steps>

1. Flutter requires [git](https://git-scm.com) which can be installed with most package managers e.g. apt:

   ```bash
   sudo apt install git
   ```

1. Install Puro with the following command:

   ```bash
   curl -o- https://puro.dev/install.sh | PURO_VERSION="1.4.8" bash
   ```

1. After installing Puro reload your shell and make sure the `puro` command is accessible.

1. Initialize Puro with the latest stable Flutter version:

   ```bash
    puro flutter
   ```

1. Now the commands `flutter` and `dart` should be accessible in your shell. You are all set up with the latest stable Flutter and Dart version! For more infos check out [https://puro.dev/](https://puro.dev/).

</Steps>
  </TabItem>
</Tabs>

## TinyGO Installation

<Tabs>
  <TabItem label="Windows">
  <Steps>

1.  It is recommended to use [Scoop](https://scoop.sh) to install TinyGo and it's dependencies on Windows:

    ```bash
    scoop install go
    ```

    Followed by:

    ```bash
    scoop install tinygo
    ```

</Steps>

</TabItem>

<TabItem label="macOS">
<Steps>

1.  Use [Homebrew](https://brew.sh) to install TinyGo:
    ```bash
    brew tap tinygo-org/tools
    brew install tinygo
    ```

</Steps>
  </TabItem>
  <TabItem label="Linux">
    <Steps>
    
1. The Linux installation can change depending on the latest TinyGo version and the used distro, check out the installation guide [here](https://tinygo.org/getting-started/install/linux/).

</Steps>
  </TabItem>
</Tabs>
