Installing VS Code on Linux Mint

Fun part of starting a new install of any OS is figuring out how to install and configure your favorite tools. VS Code is one of my favorite tools that I use daily for work and privately.

Here is a way to install VS Code Linux Mint. You can alternatively install it from Software Manager but you cannot launch it from terminal, so here is the way to enable it.

  1. sudo apt update
  2. sudo apt install apt-transport-https
  3. curl | gpg --dearmor > microsoft.gpg
  4. sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
  5. sudo sh -c 'echo "deb [arch=amd64] stable main" > /etc/apt/sources.list.d/vscode.list'
  6. sudo apt update
  7. sudo apt install code

Like I mentioned above, this way you can open VS Code from terminal. When you are navigating around, you may want to open VS Code in the directory. You can just type code . and it opens in that directory. I do that all the time on my work Mac.

Leave a Reply

Your email address will not be published.