Chapter 3. Install the Raspberry Pi
Pico VS Code Extension
The Raspberry Pi Pico VS Code extension helps you create, develop, run, and debug projects in Visual Studio Code. It
includes a project generator with many templating options, automatic toolchain management, one click project
compilation, and offline documentation of the Pico SDK.
The VS Code extension supports all Raspberry Pi Pico-series devices.
3.1. Install Dependencies
3.1.1. Raspberry Pi OS and Windows
No dependencies needed.
3.1.2. Linux
Most Linux distributions come preconfigured with all of the dependencies needed to run the extension. However, but
some distributions may require additional dependencies. The extension requires the following:
•
Python 3.9 or later
•
Git
•
Tar
•
a native C and C++ compiler (the extension supports GCC)
You can install these with:
$ sudo apt install python3 git tar build-essential
3.1.3. macOS
To install all requirements for the extension on macOS, run the following command:
$ xcode-select --install
This installs the following dependencies:
•
Git
•
Tar
•
A native C and C++ compiler (the extension supports GCC and Clang)
Getting started with Raspberry Pi Pico-series
3.1. Install Dependencies 6