# Build machine type

> How to configure build machine type



## Configuring build machine types

To switch between build machines, **instance_type** needs to be configured when working with **codemagic.yaml**:

```
workflows:
  default-workflow:
    name: Default Workflow
    instance_type: mac_mini_m2
```



> 
> If builds are triggered through Codemagic REST API and **instance_type** parameter is specified in the cURL request, it will override **instance_type** value in **codemagic.yaml**
> 



Keywords for instance types can be found [here](https://docs.codemagic.io/yaml-basic-configuration/yaml-getting-started/#instance-type).

For Flutter projects configured via the Flutter workflow editor, the build machine type can be selected in Workflow settings > Change instance.

The following build machine types are provided by Codemagic:

1. macOS with Apple M2, M4 and Studio M4 Max
2. Linux (x64 and arm64)
3. Windows
   


> 
> Contact us [here](https://codemagic.io/pricing/#enterprise) to have access to macOS with Apple M4, M4 Max and Linux with arm64.
> 



For more information about the machine specifications, please check [this page](https://docs.codemagic.io/specs/versions-macos/).
