Basic idea
This walkthrough will help you install and use Visual Studio Code on your DGX Spark. There are two different approaches, depending on how you are accessing your Spark:
-
Desktop Use: Use this path if you use your Spark as a local device, i.e. you work on it directly through a connected keyboard, monitor and mouse.
-
Remote Use: Use this path if you use your Spark as a remote device, i.e. you work on it by connecting to it through SSH over a network.
What you'll accomplish
You will set up VS Code on your DGX Spark device for code development, debugging, and execution
What to know before starting
You should have basic experience with VS Code, as well as experience relevant to the desktop or remote path:
-
Desktop Use:
- Minimal experience with installing Linux packages
-
Remote Use:
- Minimal experience with SSH
Prerequisites
- A DGX Spark set up with an active internet connection see NVIDIA docs here
sudoprivileges to the Spark- At least 200MB of disk space for the VS Code application
- (Remote Use only) VS Code installed on your laptop, downloaded from https://code.visualstudio.com/download.
Time & risk
- Duration: 5 minutes
- Risk level: Low - installation uses official packages with standard rollback
- Rollback: Standard package removal via system package manager
- Last Updated: 07/23/2026
- Clarify options and minor copyedits