how to install vscode on Linux and windows computer

 Mr robot
0
Asalamu alaikum guys my name is Mr robot Ng hacker today I will going to show you how to install visual studio code on Linux and windows computer


What is visual studio ?

Visual Studio Code (VSCode) is a free, open-source code editor developed by Microsoft. It has gained widespread popularity among developers for its versatility, ease of use, and extensive ecosystem of extensions and plugins. VSCode is designed to be a lightweight yet powerful code editor that can be used for a wide range of programming languages and development tasks.

How to install vscode on Linux computer

You can install Visual Studio Code (VSCode) on a Linux computer using different methods depending on your Linux distribution. Here are instructions for installing VSCode on some popular Linux distributions:

Ubuntu/Debian:
You can install VSCode on Ubuntu or Debian-based distributions using the following commands:

 Update the package list

$ sudo apt update

Install dependencies

$ sudo apt install software-properties-common apt-transport-https wget

Import the Microsoft GPG key

$ wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
sudo mv packages.microsoft.gpg /usr/share/keyrings

Add the Visual Studio Code repository

$ echo "deb [arch=amd64 signed-by=/usr/share/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" | sudo tee /etc/apt/sources.list.d/vscode.list

 Update the package list again

$ sudo apt update

Install Visual Studio Code

$ sudo apt install code

After running these commands, VSCode should be installed on your Ubuntu/Debian system.

Install vscode on fedora

You can install VSCode on Fedora using the following commands:

Install Visual Studio Code
$ sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc

$ sudo dnf config-manager --add-repo=https://packages.microsoft.com/yumrepos/vscode

$ sudo dnf install code

This will install VSCode on your Fedora system.

Install vscode on arch Linux:

For Arch Linux, you can use the Arch User Repository (AUR) to install VSCode. You'll need an AUR helper like yay or you can build the package manually.

 Install yay if not already installed

$ sudo pacman -S yay

 Install Visual Studio Code

$ yay -S visual-studio-code-bin

# Install yay if not already installed
sudo pacman -S yay

Building manually:

Clone the AUR repository

$ git clone https://aur.archlinux.org/visual-studio-code-bin.git

 Navigate to the cloned directory

$ cd visual-studio-code-bin

 Build and install the package

$ makepkg -si

After either method, VSCode should be installed on your Arch Linux system.

If you're using a different Linux distribution, you can check the official Visual Studio Code website for installation instructions specific to your distribution.


How to install vscode on windows computer

To install Visual Studio Code (VSCode) on a Windows computer, follow these steps:

1 Download VSCode Installer:
Visit the official Visual Studio Code website at


Download for Windows:
Click on the "Download for Windows" button to download the installer for Windows.

Run the Installer: 
Once the installer is downloaded, locate the downloaded file (typically in your Downloads folder) and double-click it to run the installer.

User Account Control (UAC) Prompt:
If you see a User Account Control (UAC) prompt, click "Yes" to allow the installer to make changes to your computer.

Add "Open with Code" to PATH: 
This option allows you to open VSCode from the command line using the code command. It's recommended to enable this option.

Create a Desktop Icon: 
This option creates a shortcut on your desktop for easy access to VSCode.

Add to Explorer Context Menu: 
This option adds an option to the right-click context menu in Windows Explorer to open files and folders in VSCode.
.Select the options you prefer and click "Next."

Choose Additional Tasks: 
You can choose whether or not to participate in the "Telemetry" program, which sends usage data to Microsoft to help improve VSCode. Make your selection and click "Next."

Install VSCode:
Click the "Install" button to start the installation process. The installer will download and install the necessary files.

Completion and Launch: 
Once the installation is complete, you'll see a "Completing the Visual Studio Code Setup Wizard" screen. Ensure that the "Launch Visual Studio Code" option is checked, and then click "Finish."

Run Visual Studio Code: 
Visual Studio Code will launch for the first time. You can now start using it to write and edit code.

That's it! You have successfully installed Visual Studio Code on your Windows computer. You can start coding by opening files and folders in VSCode or by creating new projects.



Post a Comment

0Comments
Post a Comment (0)