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

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)

KeyDefaultDescription
BaseInstallDirD:\CLIDefault parent directory where each toolchain installs into <BaseInstallDir>\<FolderName> (overridable per tool in config\toolchains\<id>.ini).
DefaultArchx64Default Windows architecture (x64, arm64, x86).
VerifyChecksumtrueEnforce SHA-256 / SHA-512 verification against official upstream metadata.
StrictZipOnlytrueStrictly allow pure portable .zip archives only (blocks SFX .7z.exe & installers).
AutoAddPathtrueAdd toolchain bin directories to User PATH.
AutoAddRegistrytrueRegister only official Windows App Paths and documented official vendor HKCU keys (PEP 514 PythonCore, Node.js, GitForWindows). Never writes synthetic keys.
AutoSetPortableEnvtrueWire portable User environment variables into <InstallDir>\data\.
AutoAddContextMenufalseOptionally register HKCU Explorer right-click prompt menus.

Merge Precedence (Personal Always Wins)

When installing or configuring toolchain <id>:

  1. Any OptionalProfiles listed in config\toolchains\<id>.ini under [Toolchain] are loaded from profiles\<id>\*.ini in order.
  2. Any --preset <names> passed on the CLI (or selected via TUI option [4] Apply Per-Toolchain Profile) are layered next.
  3. Personal keys in config\toolchains\<id>.ini are 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