Set up your development environment
#
Install Node.jsMacOS
- 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 upgrade
And then install curl which allows you to transfer data and download additional dependencies:
sudo apt-get install curl
After it finishes installing, download the latest nvm version:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.1/install.sh | bash
To confirm this has worked the following should output the nvm version:
nvm --version
#
Install yarnMacOS
- 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 upgrade
Only if you already did not install curl, install it:
sudo apt-get install curl
Import 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.list
Yarn 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 yarn
Or if you want yarn to install Node.js for you:
sudo apt install yarn
To confirm this has worked the following should output the yarn version:
yarn --version
#
Install VsCodeDownload and install the latest Vscode version from the official Visual Studio website: