Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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).

KeyDefaultDescription
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.
VerifyChecksumtrueEnforce SHA-256 / SHA-512 verification against official upstream metadata.
AutoAddPathtrueAdd toolchain bin directories to User PATH when not already wired by an installer.
AutoAddRegistrytrueIn 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.
AutoSetPortableEnvtrueWire isolated User environment variables in Portable mode (or when overridden per tool).
AutoAddContextMenufalseOptionally register HKCU Explorer right-click prompt menus.

Mode & Merge Precedence

  1. Install Mode precedence: CLI (--mode, --standard, --portable) / TUI M toggle → InstallMode in config\toolchains\<id>.ini → DefaultInstallMode in config\manager.ini (standard).
  2. Profile merge precedence (Personal Always Wins):
    • OptionalProfiles listed in config\toolchains\<id>.ini under [Toolchain] are loaded from profiles\<id>\*.ini in order.
    • Any --preset <names> passed on the CLI (or selected via TUI option [4]) are layered next.
    • Personal keys and [Workloads] in config\toolchains\<id>.ini are 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