Wednesday 26 June 2019

Installing Visual Studio Code on linux - non-root user


Based on a stack overflow answer:

  1. Download Visual Studio Code for Linux
  2. Copy it somewhere you are happy to extract it into and keep eg ~/bin
  3. Extract it: tar -xvf VSCode-linux-x64.tar.gz
  4. Add the executable to the system path eg export PATH=$HOME/bin/VSCode-linux-x64
  5. Run the code executable to open Visual Studio Code
  6. (Optional) add the export statement into your ~/.bashrc

No comments:

Post a Comment