install VSCode and Node.js and yarn for
Debian and Ubuntu based Linux distributions - I have done it on elementry OS
# after downloaded .deb file
# https://code.visualstudio.com/docs/setup/linux
# sure that you cd the dir where the file saved
$ sudo dpkg -i <file>.deb
# https://github.com/nodesource/distributions/blob/master/README.md
# for this moment it is v11
$ curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
$ sudo apt-get install -y nodejs
# of course you can clone the repository from github and build then
# https://yarnpkg.com/en/docs/install#debian-stable
$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
$ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
$ sudo apt-get update && sudo apt-get install yarn
# Adding the install location to your PATH
# https://yarnpkg.com/en/docs/cli/global
# then you can use command which is added by yarn global
$ export PATH="$(yarn global bin):$PATH"