using home brew install vs code

C++
 $ brew cask install visual-studio-code 
Source

Also in C++: