Skip to main content

Set up your development environment

Install Node.js#

  • MacOS

    • run brew install node
  • Windows

  • 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 yarn#

  • MacOS

    • run brew install yarn
  • Windows

  • 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 VsCode#

Download and install the latest Vscode version from the official Visual Studio website:

Install Git#

Last updated on by bigfanjs