Jim Bennett

🤖 I do things with IoT and academic advocacy in the DevRel team at Microsoft.

  Redmond, WA, USA

My book:

Xamarin In Action

Contact me:

  Xamarin In Action
  Twitter
  GitHub
  LinkedIn
  YouTube
  Email
  CV

It's finally here! An official supported version of VS Code that runs on a Raspberry Pi!

This to me is great news. The Raspberry Pi is a low-priced, small form factor computer that can run a full version of Linux. It's popular with hobbyists and kids - it was originally designed to be a cheap computer for kids to learn to code on. It has the same standard USB and HDMI ports that a PC or Mac would have, as well as GPIO (General Purpose Input Output) pins that can be used to work with a wide array of external electronic components, devices, sensors, machinery and robotics.

What this VS Code release means is kids who are using a Pi can now use the same IDE that their grown ups use at work - Mum codes C# in VS Code at work and daughter codes Python in VS Code on a $35 computer at home connected to the family TV.

Lets look at how to get it set up.

Installing VS Code on a Raspberry Pi

The easiest way to install VS Code is by downloading and installing the .deb file - this is an installer for VS Code that will install it and add it to the Pi menu.

The downloads page with the .deb ARM version highlighted
  • If you see a warning about this file harming your computer, select Keep
Harmful file warning in Chromium
  • Select the arrow next to the downloaded file name in Chromium, then select Open
The open option for the downloaded deb package
  • Select Install from the confirmation dialog that pops up
The install confirmation dialog
  • When prompted, enter your password and select OK
Password dialog for the installer
  • Give it a few minutes and the installer will install and configure everything.

Using VS Code

Once the installer has finished, you will see Visual Studio Code as an option in the programming folder in the Pi menu. Select it to launch VS Code.

Visual Studio Code in the Programming folder of the Pi menu

You can now install your favourite extensions and program away! Be aware that not all extensions will work fully!

VS Code on a Pi



About the Author

Jim Bennett
Jim Bennett

Senior Cloud Advocate at Microsoft, Xamarin Certified Developer, blogger, author of Xamarin in Action, speaker, father and lover of beer, whisky and Thai food. Opinions are mine

 

It's finally here! An official supported version of VS Code that runs on a Raspberry Pi!

This to me is great news. The Raspberry Pi is a low-priced, small form factor computer that can run a full version of Linux. It's popular with hobbyists and kids - it was originally designed to be a cheap computer for kids to learn to code on. It has the same standard USB and HDMI ports that a PC or Mac would have, as well as GPIO (General Purpose Input Output) pins that can be used to work with a wide array of external electronic components, devices, sensors, machinery and robotics.

What this VS Code release means is kids who are using a Pi can now use the same IDE that their grown ups use at work - Mum codes C# in VS Code at work and daughter codes Python in VS Code on a $35 computer at home connected to the family TV.

Lets look at how to get it set up.

Installing VS Code on a Raspberry Pi

The easiest way to install VS Code is by downloading and installing the .deb file - this is an installer for VS Code that will install it and add it to the Pi menu.

The downloads page with the .deb ARM version highlighted
  • If you see a warning about this file harming your computer, select Keep
Harmful file warning in Chromium
  • Select the arrow next to the downloaded file name in Chromium, then select Open
The open option for the downloaded deb package
  • Select Install from the confirmation dialog that pops up
The install confirmation dialog
  • When prompted, enter your password and select OK
Password dialog for the installer
  • Give it a few minutes and the installer will install and configure everything.

Using VS Code

Once the installer has finished, you will see Visual Studio Code as an option in the programming folder in the Pi menu. Select it to launch VS Code.

Visual Studio Code in the Programming folder of the Pi menu

You can now install your favourite extensions and program away! Be aware that not all extensions will work fully!

VS Code on a Pi