Configuration & Per-Toolchain Profiles
Toolchain Manager uses a modular INI folder structure so global manager defaults stay minimal while every IDE, SDK, runtime, compiler, and CLI tool has its own native configuration options, Visual Studio [Workloads], and opt-in profiles.
Directory Layout
config\
├── manager.ini # Core manager defaults (BaseInstallDir, DefaultInstallMode, DefaultArch, Logging)
└── toolchains\
├── vs-community.ini # Personal Visual Studio Community overrides ([Toolchain], [Workloads], [Env])
├── vs-buildtools.ini # Personal Visual Studio Build Tools overrides ([Toolchain], [Workloads], [Env])
├── vscode.ini # Personal VS Code overrides ([Toolchain], [Settings], [Extensions], [Env])
├── python.ini # Personal Python overrides ([Toolchain], [Pip], [Packages], [Env])
├── nodejs.ini # Personal Node.js overrides ([Toolchain], [Npm], [Packages], [Env])
├── rust.ini # Personal Rust overrides ([Toolchain], [CargoConfig], [Env])
├── git.ini # Personal Git overrides ([Toolchain], [GitConfig], [GitIgnore], [Env])
└── <id>.ini # One modular personal config file for each of the 51 built-in toolchains
profiles\
├── <id>\*.ini # Per-toolchain opt-in native profiles (e.g. profiles\vs-buildtools\cpp-tools.ini)
└── _bundles\*.ini # Optional multi-toolchain workstation bundles
Core Manager Settings (config\manager.ini)
User-choice keys are intentionally empty by default so interactive TUI prompts work out of the box with zero manual INI editing (and can be saved in config\manager.ini or passed via CLI flags anytime).
| Key | Default | Description |
|---|---|---|
BaseInstallDir | (blank — prompts in TUI) | Optional parent directory where each toolchain installs into <BaseInstallDir>\<FolderName> (CLI fallback: %LOCALAPPDATA%\Toolchains; overridable per tool in config\toolchains\<id>.ini or --dir). |
DefaultInstallMode | (blank — prompts in TUI) | Optional default mode: standard (official silent installer targeting your chosen directory) or portable (optional <InstallDir>\data\ isolated mode). CLI defaults to standard. |
DefaultArch | (blank — auto-detected) | Optional Windows architecture (x64, arm64, x86). Auto-detects current OS architecture when blank. |
VerifyChecksum | true | Enforce SHA-256 / SHA-512 verification against official upstream metadata. |
AutoAddPath | true | Add toolchain bin directories to User PATH when not already wired by an installer. |
AutoAddRegistry | true | In Portable mode, register only official Windows App Paths and documented official vendor HKCU keys (PEP 514 PythonCore, Node.js, GitForWindows). In Standard mode, the official vendor installer manages its own Windows registry keys and Toolchain Manager verifies them post-install/post-uninstall. |
AutoSetPortableEnv | true | Wire isolated User environment variables in Portable mode (or when overridden per tool). |
AutoAddContextMenu | false | Optionally register HKCU Explorer right-click prompt menus. |
Mode & Merge Precedence
- Install Mode precedence: CLI (
--mode,--standard,--portable) / TUIMtoggle →InstallModeinconfig\toolchains\<id>.ini→DefaultInstallModeinconfig\manager.ini(standard). - Profile merge precedence (Personal Always Wins):
OptionalProfileslisted inconfig\toolchains\<id>.iniunder[Toolchain]are loaded fromprofiles\<id>\*.iniin order.- Any
--preset <names>passed on the CLI (or selected via TUI option[4]) are layered next. - Personal keys and
[Workloads]inconfig\toolchains\<id>.iniare overlaid last so your personal settings always win.
Listing & Applying Profiles
ToolchainManager.bat --profiles vs-buildtools
ToolchainManager.bat --install vs-buildtools --preset cpp-tools --dir D:\tools\VSBT --dry-run
ToolchainManager.bat --configure vscode --preset portable-essentials,privacy,no-ai --dry-run
ToolchainManager.bat --install git --portable --preset portable-essentials,privacy,git-aliases --dry-run