Get Ready to Code - How to Install VS Code on a Raspberry Pi

Get Ready to Code - How to Install VS Code on a Raspberry Pi

If you want to be able to code or create your own web pages we show you how to install VS Code onto your Raspberry Pi. Our Dad tried to convince us to use Vi or Vim but we overruled him and went with VS Code although we are pleased he taught us to use them as they are really good editors too.

Our younger sister wanted to start creating web pages on her Raspberry Pi so we chose VS Code to download for her as it was easier to use than some of the other editors such as Vi and Vim. We developed our website using VS Code and also use it for coding a lot of our python projects.

Our first step was to check on the shell how many bits your operating system has. To do this open your shell and type the command below.

$ getconf LONG_BIT

Your Raspberry Pi will probably be the same as ours but sometimes it is good to check. Follow the link below to go to Visual Studio Code website to download the software.

Once you have clicked download you are presented with a few options. For the Raspberry Pi you would chose the .deb ARM version. ARM just means ARM Processor and all the Raspberry Pi's are currently fitted with one of these on them.

Once installed to check that it has installed correctly click on the Raspberry on your Pi and then Accessories. You should be able to see the Application - Visual Studio Code.

Visual Studio Code also has its own Terminal built in which can be handy if there are any commands you need to do in the shell.

To start creating a simple webpage below is some very simple HTML code that you can copy into VS Code to create a simple web page. Once copied save it to your desktop or wherever you have chosen to save your files. Click on that HTML page and you have your very simple page.

<!DOCTYPE html>
		<h1>Hello GurgleApps</h1>