Set up your development environment
Install Node.js#
MacOS
- run
brew install node
- run
Windows
- Download and install the latest Node.js version from the official Node.js website
Linux(Ubuntu, Debian)
First run an update and an upgrade:
sudo apt update
sudo apt -y upgradeAnd then install curl which allows you to transfer data and download additional dependencies:
sudo apt-get install curlAfter it finishes installing, download the latest nvm version:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.1/install.sh | bashTo confirm this has worked the following should output the nvm version:
nvm --version
Install yarn#
MacOS
- run
brew install yarn
- run
Windows
- Download and install the latest yarn version from the official yarn website
Linux(Ubuntu, Debian)
First run an update and an upgrade:
sudo apt update
sudo apt -y upgradeOnly if you already did not install curl, install it:
sudo apt-get install curlImport the repository’s GPG key using the following curl command:
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -Add the Yarn APT repository to your system’s software repository list:
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.listYarn installs node.js for you if it's not installed already. If you already have installed Node.js, install yarn and skip node.js installation by:
sudo apt install --no-install-recommends yarnOr if you want yarn to install Node.js for you:
sudo apt install yarnTo confirm this has worked the following should output the yarn version:
yarn --version
Install VsCode#
Download and install the latest Vscode version from the official Visual Studio website: