Install Visual Studio Code (VS Code) on ArcoLinux

Visual Studio Code (VS Code) is a powerful, lightweight, and cross-platform source code editor.

ArcoLinux is a rolling release Linux distribution based on Arch Linux.

Prerequisites

  • ArcoLinux was installed using the ArcoLinuxL ISO with the easy installation option.
  • The examples shown in this article were performed using Xfce Terminal.
  • ArcoLinux was fully updated using the sudo pacman -Syu command.

Installation

You could use the pacman or paru command. I chose to use the pamac command. Pamac is Manjaro’s package manager and has intuitive parameter names. For examples of using the pacman and paru commands, see my “Install PowerShell on ArcoLinux” blog article.

You use the --help or -h parameter to determine the syntax of the pamac command:

pamac --help

install-vscode-arcolinux1a.png

To search for packages, you use the search parameter:

pamac search vscode

install-vscode-arcolinux2a.png

The info parameter provides you with more information about a package:

pamac info visual-studio-code-bin

install-vscode-arcolinux3a.png

You use the install parameter to install packages. The following example installs Visual Studio Code:

sudo pamac install visual-studio-code-bin

install-vscode-arcolinux4a.png

You’ve successfully installed Visual Studio Code. I enabled settings sync from within Visual Studio Code. It automatically installed all of my extensions including the PowerShell extension. I ran a few commands to show Visual Studio Code is indeed running on ArcoLinux:

Get-Content -Path /etc/os-release
lsb_release -a
uname -r

install-vscode-arcolinux5a.png

References