It will be a two-step process. First, we will install Yaourt, then use it to install VS Code.
Edit Pacman configuration file to include the repository for Yaourt
$ sudo nano /etc/pacman.conf
Add the following lines at the end of the file and save it
[archlinuxfr] SigLevel = Never Server = http://repo.archlinux.fr/$arch
Now refresh the repository database and install Yaourt
$ sudo pacman -Sy yaourt
Installing VS Code
Yaourt makes installing VS Code pretty easy, we just have to execute the following command.
$ sudo yaourt visual-studio-code-bin