Installing Visual code On Chromebook (Easiest way)

The very basic way to install visual code on your chromebook is here.

Before you start coding Python on your Chromebook, there are several things you need to keep in mind. First of all, you need to have Linux installed on the machine.

Also read: Installing python on chromebook.

If you don’t have one, make sure to check out this article on how to set it up in just a couple of minutes.

Also, this process is suited for Chromebooks with Intel processors. So, if you have arm architecture, there is a chance that it simply won’t work. Now, let’s take a look at the installation steps;

You can also follow this video tutorial to install visual code on your chromebook.

Installing Visual code On Chromebook

Step 1: Setting up the Visual Code

  1. Head over to the official site of Visual Studio by clicking here and clicking on the “.deb” option listed in the middle.
Python 1 - Installing Visual code On Chromebook (Easiest way)
  • The download will soon start, and once it’s over, open the download folder by selecting the bottom right box.
Python 2 - Installing Visual code On Chromebook (Easiest way)
  • Now, right-click the file and select *Open with Linux Beta* to allow the installation of Visual Studio. The progress can also be monitored at the bottom right corner.
Python 3 - Installing Visual code On Chromebook (Easiest way)

Step 2: Applying the Python environment for Visual Studio

  1. Once the installation is complete, minimize the Visual Studio tab and open your Command Terminal. Type “Sudo apt-get update” & hit enter.
Python 4 - Installing Visual code On Chromebook (Easiest way)
  • After the command is executed, again type “sudo apt-get upgrade” and continue.
Python 5 - Installing Visual code On Chromebook (Easiest way)
  • Now to see whether Python is properly installed or not, write “python3 -V” in the command window. If you see a Python version displayed, then proceed next.
Python 6 - Installing Visual code On Chromebook (Easiest way)
  • In the following step, you need to install the Pip package manager (Type “sudo apt-get install python3-pip“. The purpose of this utility is to use third-party Python extensions on the go.
Python 7 - Installing Visual code On Chromebook (Easiest way)

Step 3: VS Code Configuration via environment

  1. Before you move any further, you need to create a folder within the Linux File location where the Python projects will be stored.
Python 8 - Installing Visual code On Chromebook (Easiest way)
  • Now, right-click the folder and scroll over to the Open with section, where you need to open it with the terminal. Another window will pop up in which you are going to input “Code .” This will automatically open the Visual Studio.
Python 9 - Installing Visual code On Chromebook (Easiest way)
Python 10 - Installing Visual code On Chromebook (Easiest way)
  • Once that’s done, click on View and then Extension located at the top left corner. As the resource is displayed, select Python with Microsoft as the main publisher and hit install.
Python 11 - Installing Visual code On Chromebook (Easiest way)
This image has an empty alt attribute; its file name is Python-12-1024x576.png
  • The next step is to enable Raw Python Interpreter. So again, click on View & then Command Pallet. Write “Python select interpreter” and select the following result in the subsequent box.
Python 13 - Installing Visual code On Chromebook (Easiest way)

After that, the Python environment is ready to use. You can now start programming your project by heading over to the explorer section at the top.

Scroll to Top