Open Visual Studio Code and if you don't already have them, install the Remote Development Extension Pack
Hopefully, if everything has worked, you should be able to connect. Get-WindowsCapability -Online |? Name -like 'OpenSSH.Client*'Īdd-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0 On recent versions of Windows 10, you can run the following command from an elevated PowerShell terminal. Make sure you have the SSH client enabled on your dev machine. The easiest way to find the current IP is to hover over the network icon next to the volume control in the top right corner. If that doesn't work, try getting the Pi's IP address and connecting to the IP instead. If you are using a simple home network, you can probably connect to the default name raspberrypi. With SSH enabled, let's confirm that we can successfully connect to the Pi. Go to the main menu and select Preferences > Raspberry Pi Configuration then select the Interfaces tab and Enable SSH. Next, you will want to enable SSH, which will allow us to use the new VSCode Remote Development feature. I prefer to run the update/upgrade commands from the terminal. Go through the wizard to set up your language/keyboard layout, change the default password and then apply updates. Now we have a freshly imaged flash drive, let's check that the imaging was successful and that the Pi can boot, you should end up on a screen like below.
Time to get a drink as this will take a good 10 mins or so. Then point Etcher at the img file and tell it to flash.
If you don't already have a program capable of writing images to a flash drive, I tend to use Etcher which is available for Linux, macOS and Windows.Įxtract the Raspbian zip file you downloaded before, which should give you a. However, if you want to use the touch screen, you will need to use the desktop. This example will work on either lite or desktop. In this example, I'm using the latest official Raspbian image which at the time of writing is Buster. Hopefully, you read Part 1 of this series and thus acquired the requisite bits, congrats!įirstly, you are going to need an OS to run on your Pi.