sudo yay visual-studio-code
или так:
sudo pacman -Sy
sudo pacman -S git
cd ~/Downloads
git clone https://AUR.archlinux.org/visual-studio-code-bin.git
cd visual-studio-code-bin/
makepkg -s
sudo pacman -U visual-studio-code-bin-*.pkg.tar.xz
cd ../ && sudo rm -rfv visual-studio-code-bin/
в archcraft:
yay -S visual studio code