Install VS-Code in Manjaro Linux

VS-Code is one of my favorate code editing software

Following steps are to install vs code in Manjaro distro

step 1:Downloading Visual Studio Code Package

download the Visual Studio Code Package for 64-bit Linux Operating System from the Microsoft server

# mkdir /tmp/vscode; cd /tmp/vscode/
# wget https://az764295.vo.msecnd.net/public/0.3.0/VSCode-linux-x64.zip

step 2:Extract the Package


Now, after we have successfully downloaded the zipped package of Visual Studio Code, we'll gonna extract it using the unzip command to /opt/directory. To do so, we'll need to run the following command in a terminal .

# unzip /tmp/vscode/VSCode-linux-x64.zip -d /opt/

step 3:Running Visual Studio Code

we can launch code from out terminal

this line will change the permission to run vscode

# sudo chmod +x /opt/VSCode-linux-x64/Code





this is actually to run

# sudo /opt/VSCode-linux-x64/Code

If we want to launch Code and want to be available globally via terminal in any place

# ln -s /opt/VSCode-linux-x64/Code /usr/local/bin/code

Now, we can launch Visual Studio Code by running the following command in a terminal.

# code .

Comments

Popular posts from this blog

Running (pre-loaded)Virtual Machine on VirtualBox

Integrating Bash on Windows(Linux subsystem) into VSCode