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

Adding Custom Toolchains

  1. Drop a .ps1 pack into src\toolchains\custom\ (see src\toolchains\custom\_example.disabled.ps1). Any file not starting with _ and not ending with .disabled.ps1 is auto-discovered by src\core\catalog.ps1.
  2. Add its personal config INI at config\toolchains\<id>.ini with [Toolchain] overrides (InstallDir, InstallMode, Arch, Version, OptionalProfiles), [Env], and any applicable native config sections (or [Workloads] for Visual Studio).
  3. Add opt-in profiles under profiles\<id>\*.ini — they automatically appear in --profiles <id> and TUI action [4] Apply Per-Toolchain Profile.

Required Guardrails

  • Mandatory Silent + Custom Directory Gate: Every toolchain, IDE, SDK, runtime, compiler, database, or CLI MUST support BOTH (1) custom user-chosen installation directory and (2) 100% silent execution. Define ResolveInstaller for official silent .exe/.msi installers (Standard mode) and/or Resolve for official pure .zip archives or silent portable-mode installers (Portable mode). Unsupported .7z.exe SFX stubs remain blocked.
  • Official Registry Keys Only: Only list real executables in AppPathExes (registered under HKCU\Software\Microsoft\Windows\CurrentVersion\App Paths\<exe>) and only add an OfficialRegistryHook when the upstream vendor officially documents an HKCU\Software\<Vendor> key. Never invent synthetic registry keys.
  • Universal Uninstall Metadata: Always populate UninstallMatch (DisplayNames, ExcludeNames, WingetIds, ScoopNames, ChocoNames) so the universal uninstaller can discover and cleanly remove any existing installation.