<-- Overview
Top
Test Environment -->


# Setup - [Setup](#setup) - [Regular setup](#regular-setup) - [Apple Silicon emulated x86_64](#apple-silicon-emulated-x86_64) - [Apple Silicon arm64](#apple-silicon-arm64) ## Regular setup Follow the [Quick Start](../README.md) guide to install required software. ## Apple Silicon (emulated x86_64) > Note: Steps for Apple Silicon is constantly changing and may not be accurate. > Since January 2021 when these steps were written Apple Silicon support has improved significantly across the board and these steps may no longer be necessary. 1. install i386 Homebrew: ``` arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" ``` 2. install `nvm` using i386 Homebrew: ``` arch -x86_64 /usr/local/bin/brew install nvm ``` **This is critical! If nvm is installed using ARM64 Homebrew, installed Node versions will also be the ARM64 variant and there will be problems!** 3. using `nvm`, install the current version of NodeJS used in `wp-calypso`: ``` nvm install ``` 4. instruct `nvm` to use the version of NodeJS installed in previous step: ``` nvm use ``` 5. update `npm` version: ``` arch -x86_64 npm install -g npm@latest ``` 6. install `yarn`: ``` arch -x86_64 npm install yarn ``` 7. install all dependencies from repo root: ``` arch -x86_64 yarn install --immutable ``` At any point, run `arch` to verify whether shell is running with Rosetta 2 emulation. ## Apple Silicon (arm64) Steps in the [Setup](../README.md#quick-start) should be enough to get the user up and running.