Command Reference
Most IDE for Zephyr actions are available from the command palette (Ctrl+Shift+P / Cmd+Shift+P). Many of the same actions also appear as buttons in the Setup Panel, Project Details panel, tree views, and status bar.
Setup Panel, Views, and Navigation
Section titled “Setup Panel, Views, and Navigation”Zephyr IDE: Overview- Open the top-level setup overview panelZephyr IDE: Workspace Setup- Open the workspace setup pickerZephyr IDE: Open Workspace Config- Jump from the overview to the workspace configuration panelZephyr IDE: Open SDK Management- Jump from the overview to the SDK management panelZephyr IDE: Workspace Config- Open the workspace configuration panel directlyZephyr IDE: Host Tools- Open the host tools panel directlyZephyr IDE: SDK Management- Open the SDK management panel directlyZephyr IDE: Project Details- Open the active build’s project details panelZephyr IDE: Zephyr IDE Manager- Open the manager panel for sharedzephyr-ide.jsonrequirements such as toolchains, blobs, pip packages, sample projects, and post-setup commandsZephyr IDE: Open Settings- Open the extension settings panelZephyr IDE: Show View Container- Focus the IDE for Zephyr activity bar containerZephyr IDE: Reload Panels- Reload IDE for Zephyr webview panels
Workspace Setup and Registration
Section titled “Workspace Setup and Registration”Zephyr IDE: Setup Workspace from Git- Clone and set up a workspace from a repository that already contains IDE for Zephyr configurationZephyr IDE: Setup West Workspace from Git- Clone and set up an existing west-based workspace from GitZephyr IDE: Setup Workspace from Current Directory- Use the current VS Code folder as the workspace rootZephyr IDE: Setup Standard Workspace- Create a fresh workspace with west and Zephyr initialized for youZephyr IDE: Setup Workspace from External Directory- Register and configure a workspace that lives outside the currently open folderZephyr IDE: Setup West Environment- Create the workspace Python environment and install westZephyr IDE: West Init- Initialize a workspace from awest.ymlZephyr IDE: West Update- Fetch Zephyr and module sources for the active workspaceZephyr IDE: West List- List modules in the active west workspaceZephyr IDE: West Config- Edit west configuration for the active workspaceZephyr IDE: Create New West Workspace- Create and register another west workspaceZephyr IDE: Refresh West Workspaces- Refresh the registered workspace listZephyr IDE: Select Existing West Workspace- Switch to another registered workspaceZephyr IDE: Manage Workspace Installations- Open the multi-workspace managerZephyr IDE: Set Workspace Settings- Write recommended VS Code workspace settings for the active workspace
Workspace Lifecycle and Recovery
Section titled “Workspace Lifecycle and Recovery”Zephyr IDE: Deactivate Workspace- Stop using the current registered workspace without deleting its registrationZephyr IDE: Unregister Workspace- Remove a workspace from the extension’s registryZephyr IDE: Re-run West Setup- Re-run the west setup/update flow for the active workspaceZephyr IDE: Reset Workspace- Clear workspace configuration so setup can be started againZephyr IDE: Reset Active Installation- Clear the currently selected Zephyr installationZephyr IDE: Skip West Setup- Mark the current workspace as ready when west is already prepared externallyZephyr IDE: Show Workspace Structure- Print the active workspace layout for inspection/troubleshooting
Host Tools, SDK, and Shared Workspace Requirements
Section titled “Host Tools, SDK, and Shared Workspace Requirements”Zephyr IDE: Install Host Tools- Install missing build dependencies using the supported package manager for your platformZephyr IDE: Check Build Dependencies- Re-scan PATH and verify host tools required for buildingZephyr IDE: Install SDK- Install or manage Zephyr SDK versions and architecturesZephyr IDE: Modify zephyr-ide.json Toolchains- Edit the workspace’s required SDK toolchain listZephyr IDE: Install Toolchains from zephyr-ide.json- Install the toolchains declared in.vscode/zephyr-ide.jsonZephyr IDE: Modify zephyr-ide.json Blobs- Edit the workspace’s required west blob modulesZephyr IDE: Install Blobs from zephyr-ide.json- Fetch blobs declared in.vscode/zephyr-ide.jsonZephyr IDE: Modify zephyr-ide.json Pip Packages- Edit extra Python packages to install into the workspace virtual environmentZephyr IDE: Install Pip Packages from zephyr-ide.json- Install only the extra pip packages declared in.vscode/zephyr-ide.jsonZephyr IDE: Modify zephyr-ide.json Pip Requirements- Edit additionalrequirements.txtpaths for the workspace virtual environmentZephyr IDE: Install Pip Requirements from zephyr-ide.json- Install only the additional requirements files declared in.vscode/zephyr-ide.jsonZephyr IDE: Install Pip Packages and Requirements from zephyr-ide.json- Install the workspace’s extra pip packages and requirements togetherZephyr IDE: Modify Sample Projects (zephyr-ide.json)- Edit the optional sample project library stored in.vscode/zephyr-ide.jsonZephyr IDE: Add Sample Projects From File- Load selected sample project entries from.vscode/zephyr-ide.jsoninto the current workspaceZephyr IDE: Modify Commands (zephyr-ide.json)- Edit platform-specific post-setup commands stored in.vscode/zephyr-ide.jsonZephyr IDE: Run Commands from zephyr-ide.json- Prompt for and run selected post-setup commands from.vscode/zephyr-ide.jsonZephyr IDE: Reinitialize DTS Language Server- Reinitialize the Devicetree language server integration
Project Management
Section titled “Project Management”Zephyr IDE: Add Project- Add an existing application to the workspaceZephyr IDE: Create Project From Template- Copy a Zephyr sample or template into the workspace as a new projectZephyr IDE: Remove Project- Remove a project from IDE for ZephyrZephyr IDE: Set Active Project- Switch the active projectZephyr IDE: Clear Projects- Remove all project registrations from the current workspaceZephyr IDE: Load Projects From File- Load project configuration from.vscode/zephyr-ide.jsonZephyr IDE: Save Projects To File- Save the current project/build/test state to.vscode/zephyr-ide.jsonZephyr IDE: Add Project Kconfig Files- Add project-level Kconfig fragmentsZephyr IDE: Remove Project Kconfig Files- Remove project-level Kconfig fragmentsZephyr IDE: Add Project Overlay Files- Add project-level devicetree overlaysZephyr IDE: Remove Project Overlay Files- Remove project-level devicetree overlays
Build Configuration Management
Section titled “Build Configuration Management”Zephyr IDE: Manage Build Variables- Add, edit, or remove active-buildcustomVarsvalues for use in runner args, tasks, and launch configsZephyr IDE: Manage Project Variables- Add, edit, or remove active-projectcustomVarsvaluesZephyr IDE: Add Build Configuration- Add another build for the active projectZephyr IDE: Remove Build- Remove a build configurationZephyr IDE: Set Active Build- Switch the active buildZephyr IDE: Add Build Kconfig Files- Add build-specific Kconfig fragmentsZephyr IDE: Remove Build Kconfig Files- Remove build-specific Kconfig fragmentsZephyr IDE: Add Build Overlay Files- Add build-specific devicetree overlaysZephyr IDE: Remove Build Overlay Files- Remove build-specific devicetree overlaysZephyr IDE: Modify Build Arguments- Edit the active build’swest buildand CMake arguments
Runner Profiles and Debug Configuration
Section titled “Runner Profiles and Debug Configuration”Zephyr IDE: Select Active Runner Profile (Local)(zephyr-ide.set-active-profile) - Set a local runner-profile override for the active build without changing committed JSONZephyr IDE: Set Local Slot Runner Bind(zephyr-ide.set-local-bind) - Override just one slot (Flash, Debug, or Attach) locallyZephyr IDE: Open Runner Profile Panel- Create, edit, rename, and delete runner profiles at workspace or user scopeZephyr IDE: Change Debug Launch Configuration(zephyr-ide.change-launch-for-build) - Bind a namedlaunch.jsonconfiguration to the active build’s debug slotZephyr IDE: Open runners.yaml for Active Build(zephyr-ide.open-runners-yaml) - Open the generatedrunners.yamlfor the active build
Runner profiles are documented in more detail in Configuration Settings and Building & Debugging.
Build, Flash, and Debug Operations
Section titled “Build, Flash, and Debug Operations”Zephyr IDE: Build Pristine- Reconfigure and rebuild with--pristineZephyr IDE: Build- Build the active project/buildZephyr IDE: Clean- Delete build artifacts for the active buildZephyr IDE: Flash- Flash the existing build output, or build first ifzephyr-ide.buildBeforeFlashis enabledZephyr IDE: Build and Flash- Build first, then flashZephyr IDE: Debug- Start a debug sessionZephyr IDE: Debug Attach- Attach to a running debug-capable targetZephyr IDE: Build and Debug- Build first, then debugZephyr IDE: Set Active Sysbuild Image(zephyr-ide.set-sysbuild-image) - Choose which sysbuild image/domain Flash, Debug, and Debug Attach target
Analysis, Reports, and Configuration Tools
Section titled “Analysis, Reports, and Configuration Tools”Zephyr IDE: Open Build Dashboard- Open the interactive Build DashboardZephyr IDE: Zephyr Dashboard Report- Refresh RAM/ROM usage and symbol data consumed by the Build DashboardZephyr IDE: Start Menu Config- Runwest build -t menuconfigZephyr IDE: Start GUI Config- Runwest build -t guiconfigZephyr IDE: Zephyr ROM Report- Print the ROM usage report in the terminalZephyr IDE: Zephyr RAM Report- Print the RAM usage report in the terminalZephyr IDE: Start DTSh Shell- Open the Devicetree shell
Testing with Twister
Section titled “Testing with Twister”Zephyr IDE: Add Twister Test to Project- Add a Twister test configuration to the active projectZephyr IDE: Remove Twister Test from Project- Remove a Twister test configurationZephyr IDE: Set Active Test- Switch the active Twister configurationZephyr IDE: Run Test- Run the active Twister configurationZephyr IDE: Reconfigure Active Test- Edit the active Twister configurationZephyr IDE: Delete Test Output Directories- Delete Twister output folders for a clean re-run
Automatic Project Targeting
Section titled “Automatic Project Targeting”Zephyr IDE: Enable Automatic Active Project Targeting- Switch the active project automatically when editor focus moves into another registered projectZephyr IDE: Disable Automatic Active Project Targeting- Turn that behavior off
Utilities and Advanced Diagnostics
Section titled “Utilities and Advanced Diagnostics”Zephyr IDE: Show Python Interpreter Path- Print the Python interpreter path the extension resolved for the active workspaceZephyr IDE: Shell Test- Run an internal shell integration checkZephyr IDE: Extension Debug — Dump State- Print extension state for debuggingZephyr IDE: Extension Debug — Mark Host Tools Not Ready- Force the host-tools state back to “not ready”Zephyr IDE: Extension Debug — Mark SDK Not Installed- Force the SDK state back to “not installed”
Launch Configuration Helpers
Section titled “Launch Configuration Helpers”These commands are primarily used inside launch.json and tasks.json. See Launch Configuration Helpers for examples and argument details.
Zephyr IDE: Get Active Project NameZephyr IDE: Get Active Project PathZephyr IDE: Get Active Build PathZephyr IDE: Get Active Build Board PathZephyr IDE: Get Active Board NameZephyr IDE: Select Active Build PathZephyr IDE: Get GDB PathZephyr IDE: Get ARM GDB PathZephyr IDE: Get Toolchain PathZephyr IDE: Get Zephyr DirectoryZephyr IDE: Get Zephyr ELF PathZephyr IDE: Get Zephyr ELF DirectoryZephyr IDE: Get Zephyr IDE JSON VariableZephyr IDE: Get Active Project VariableZephyr IDE: Get Active Build Variable