Download VS Code ARM64 installer to your DGX Spark
Go to the VS Code download page and download the appropriate ARM64 .deb package for your system.
Alternatively, download the installer with this command:
wget https://code.visualstudio.com/sha/download?build=stable\&os=linux-deb-arm64 -O vscode-arm64.deb
Install VS Code
Install the downloaded package using the system package manager.
You can click on the installer file directly or use the command line.
# Install the downloaded .deb package
sudo dpkg -i vscode-arm64.deb
# Fix any dependency issues if they occur
sudo apt-get install -f
Open VS Code
You can open the app directly from the list of applications or from the command line.
# Test launch (will open VS Code GUI)
code &
VS Code should launch and display the welcome screen.
Configure for Spark development
Set up VS Code for development on the DGX Spark platform.
# Launch VS Code if not already running
code
# Or create a new project directory and open it
mkdir ~/spark-dev-workspace
cd ~/spark-dev-workspace
code .
From within VS Code:
- Open File > Preferences > Settings
- Search for "terminal integrated shell" to configure default terminal
- Install recommended extensions via Extensions tab (left sidebar)
Validate setup and test functionality
Test core VS Code functionality to ensure proper operation on ARM64.
Create a test file:
# Create test directory and file
mkdir ~/vscode-test
cd ~/vscode-test
echo 'print("Hello from DGX Spark!")' > test.py
code test.py
Within VS Code:
- Verify syntax highlighting works
- Open integrated terminal (Terminal > New Terminal)
- Run the test script:
python3 test.py - Test Git integration by running
git initand thengit statusin the terminal
Uninstalling VS Code
WARNING
Removing the hidden folders will remove all user settings and extensions.
To remove VS Code if needed:
# Remove VS Code package
sudo apt-get remove code
# Remove configuration files (optional)
rm -rf ~/.config/Code
rm -rf ~/.vscode