Extension Dependencies & Portable Toolchains
Many VS Code and VSCodium extensions depend on external CLI binaries or language toolchains. To keep your entire setup 100% portable, the manager automatically checks required software before installing extensions (or on demand via configure.ps1 -Mode CheckDependencies / Option 11).
How Detection Works
For each required tool, Test-DependencyInstalled checks in order:
- System & User
PATH(automatically ignores Microsoft Store’s 0-byteWindowsApps\python.exestub alias). - Windows
App Pathsregistry (HKCUandHKLM). - Official program registry keys (
HKCU/HKLM, including PEP 514Software\Python\PythonCore). - Your configured
DefaultToolsDir(e.g.,D:\CLI\{tool_name}). If a portable copy already exists there withoutPATH/registry registration, the manager automatically repairs itsPATHand officialHKCUregistry keys.
Supported Portable Toolchains
Every portable tool is downloaded directly from its official upstream Windows x64 release, extracted into DefaultToolsDir (e.g., D:\CLI\<ToolName>), added to User PATH (and the active process PATH with WM_SETTINGCHANGE broadcast), and registered under its official per-program HKCU registry keys:
| Tool ID | Triggered By Extensions | Official Portable Source | Official HKCU Registry Keys Written | Auto-Wired settings.json Key |
|---|---|---|---|---|
git | gitlens, git-graph, githistory, gitblame, vscode-pull-request-github | git-for-windows/git (MinGit-*-64-bit.zip) | Software\GitForWindows + App Paths\git.exe | git.path |
ripgrep | gruntfuggly.todo-tree | BurntSushi/ripgrep (x86_64-pc-windows-msvc.zip) | Software\ripgrep + App Paths\rg.exe | todo-tree.ripgrep.ripgrep |
node | vscode-eslint, prettier-vscode, vscode-tailwindcss, vitest.explorer, playwright | Official nodejs.org latest LTS win-x64.zip | Software\Node.js + App Paths\node.exe | (via PATH) |
python | ms-python.python, vscode-pylance, debugpy, jupyter | Official NuGet python .nupkg (tools\) + ensurepip | Software\Python\PythonCore\<X.Y> (PEP 514) + App Paths\python.exe | python.defaultInterpreterPath |
cmake | twxs.cmake, ms-vscode.cmake-tools, ms-vscode.cpptools | Kitware/CMake (windows-x86_64.zip) | Software\Kitware\CMake + App Paths\cmake.exe | cmake.cmakePath |
ninja | ms-vscode.cmake-tools, ms-vscode.cpptools | ninja-build/ninja (ninja-win.zip) | Software\Ninja + App Paths\ninja.exe | (via PATH) |
clangd | llvm-vs-code-extensions.vscode-clangd | clangd/clangd (clangd-windows-*.zip) | Software\LLVM\clangd + App Paths\clangd.exe | clangd.path |
rust | rust-lang.rust-analyzer | Official rustup-init.exe with portable CARGO_HOME & RUSTUP_HOME | Software\Rust + App Paths\rustc.exe, cargo.exe | (via PATH + env vars) |
go | golang.go | Official go.dev/dl stable windows-amd64.zip + GOROOT | Software\GoProgrammingLanguage + App Paths\go.exe | (via PATH + GOROOT) |
terraform | hashicorp.terraform | HashiCorp Checkpoint + windows_amd64.zip | Software\HashiCorp\Terraform + App Paths\terraform.exe | (via PATH) |
shellcheck | timonwong.shellcheck | koalaman/shellcheck (shellcheck-v*.zip) | Software\ShellCheck + App Paths\shellcheck.exe | shellcheck.executablePath |
pwsh | ms-vscode.powershell | PowerShell/PowerShell (win-x64.zip) | Software\PowerShell + App Paths\pwsh.exe | (via PATH) |
gh | github.vscode-pull-request-github | cli/cli (gh_*_windows_amd64.zip) | Software\GitHub\CLI + App Paths\gh.exe | (via PATH) |
docker | ms-azuretools.vscode-docker | (Non-portable: requires Windows service / WSL2 daemon) | Detected & reported with manual install instructions | — |
Controlling Automatic Dependency Installs
In config.ini:
[General]
DefaultToolsDir = D:\CLI\{tool_name}
AutoInstallDependencies = true # true | false | blank (prompt Y/S/N)
You can also declare explicit tool requirements in any profile or editor.ini via [Dependencies]:
[Dependencies]
git
ripgrep
python