Configuration & Per-Toolchain Profiles
Portable 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 and opt-in profiles.
Directory Layout
config\
├── manager.ini # Core manager defaults (BaseInstallDir, DefaultArch, StrictZipOnly, Logging)
└── toolchains\
├── 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])
├── dotnet.ini # Personal .NET overrides ([Toolchain], [NuGet], [Tools], [Env])
├── go.ini # Personal Go overrides ([Toolchain], [GoEnv], [Tools], [Env])
├── git.ini # Personal Git overrides ([Toolchain], [GitConfig], [GitIgnore], [Env])
├── gh.ini # Personal GitHub CLI overrides ([Toolchain], [GhConfig], [Extensions], [Env])
└── <id>.ini # One modular personal config file for each of the 38 built-in toolchains
profiles\
├── <id>\*.ini # Per-toolchain opt-in native profiles (e.g. profiles\vscode\privacy.ini)
└── _bundles\*.ini # Optional multi-toolchain workstation bundles
Core Manager Settings (config\manager.ini)
| Key | Default | Description |
|---|---|---|
BaseInstallDir | D:\CLI | Default parent directory where each toolchain installs into <BaseInstallDir>\<FolderName> (overridable per tool in config\toolchains\<id>.ini). |
DefaultArch | x64 | Default Windows architecture (x64, arm64, x86). |
VerifyChecksum | true | Enforce SHA-256 / SHA-512 verification against official upstream metadata. |
StrictZipOnly | true | Strictly allow pure portable .zip archives only (blocks SFX .7z.exe & installers). |
AutoAddPath | true | Add toolchain bin directories to User PATH. |
AutoAddRegistry | true | Register only official Windows App Paths and documented official vendor HKCU keys (PEP 514 PythonCore, Node.js, GitForWindows). Never writes synthetic keys. |
AutoSetPortableEnv | true | Wire portable User environment variables into <InstallDir>\data\. |
AutoAddContextMenu | false | Optionally register HKCU Explorer right-click prompt menus. |
Merge Precedence (Personal Always Wins)
When installing or configuring toolchain <id>:
- Any
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] Apply Per-Toolchain Profile) are layered next. - Personal keys in
config\toolchains\<id>.iniare overlaid last so your personal settings always override profile defaults.
Listing & Applying Profiles
PortableToolchainManager.bat --profiles vscode
PortableToolchainManager.bat --configure vscode --preset portable-essentials,privacy,no-ai --dry-run
PortableToolchainManager.bat --install git --preset portable-essentials,privacy,git-aliases --dry-run