On Linux (Ubuntu 20.04 LTS): Node Download the Node LTS archive file from and extract it (in this example, the archive is extracted in ) https://nodejs.org/ /home/user/Downloads/ Open in the home folder ( ) with a text editor, and append: .bashrc /home/user./bashrc PATH=$PATH:/home/user/Downloads/node-v14.17.0-linux-x64/bin Then, in a terminal: .bashrc node -v npm -v source # v14.17.0 # 6.14.13 You may also need the development tools to build native addons: sudo apt install gcc g++ make Alternatively, you can install Node from a package. To install the LTS version, go to and https://github.com/nodesource/distributions # You need to install curl it if 's not already installed sudo apt install curl # Ubuntu curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - sudo apt-get install -y nodejs Yarn Install Yarn (from ) https://yarnpkg.com/getting-started/install npm install -g yarn yarn -v # 1.22.10 Git sudo apt install git VSCode Download the .deb package from . Then, in a terminal, go to the folder, and: https://code.visualstudio.com/ Downloads sudo dpkg -i code_1.57.0-1623259737_amd64.deb code . # test it On Mac Node Download the LTS package from and install it (double click on node-v14.17.1.pkg and follow the steps). https://nodejs.org Then open a terminal, and: node -v npm -v Yarn Open a terminal, and: npm install -g yarn yarn -v NOTE: if you get this error: “npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/yarn” run the following commands: sudo chown -R /usr/ /lib/node_modules sudo chown -R /usr/ /bin sudo chown -R /usr/ /share/ $USER local $USER local $USER local Then try to reinstall yarn with the command above. Git First, install Homebrew by following the instructions here: https://brew.sh Then, install Git with: brew install git VSCode Download the package from and install it. https://code.visualstudio.com On Windows Node Download Nodejs LTS from and install the package - don't forget to check "Automatically Install the Necessary Tools" in the installer. https://nodejs.org Then, open a terminlal (Command Prompt) and: node -v npm -v Yarn npm install -g yarn yarn -v Git Download the executable from here and run the installer. https://git-scm.com/download/win Then, open a terminal and: C:\Users\user>git --version git version 2.32.0.windows.1 VSCode Download from and run the installer. VSCode https://code.visualstudio.com/ Then, to test everything, open a Command Prompt and: git https://github.com/alexadam/project-templates.git projects\react-app yarn init --yes yarn add react react-dom yarn add --dev @types/react @types/react-dom ts-loader css-loader html-webpack-plugin node-sass sass-loader style-loader typescript webpack webpack-cli webpack-dev-server code . clone cd # Open VSCode Open package.json and append these lines: , : { : , : , : } "scripts" "clean" "rm -rf dist/*" "build" "webpack" "dev" "webpack serve" Run , open a browser, and go to yarn dev http://localhost:8080/ Previously published at https://alexadam.dev/blog/install-node-yarn-git.html