pwsh-plugins
An opt-in plugin manager for the PowerShell profile: install two plugins, pay two plugins' worth of startup.
git clone https://github.com/Abdullah-Masood-05/pwsh-plugins.git
cd pwsh-plugins
.\addconfig.ps1 --git-aliases.config --zoxide.configA plugin manager for your PowerShell 7 profile, built as a companion to pwsh-terminal-setup but with no dependency on it — it works against any PowerShell 7 profile.
Each plugin is one self-contained .config file: a metadata header plus a PowerShell body. Three scripts (addconfig.ps1, removeconfig.ps1, listconfigs.ps1) handle install, removal, dependency resolution, and profile backups.
The philosophy
- A bare install adds nothing. You start from zero and add exactly what you want by name. Nothing is enabled behind your back.
- Only what you install costs you. The manager itself never runs at shell launch — it only edits your profile.
- Auditable. One file per plugin, readable and forkable, with no hidden runtime.
What install does
Validates the plugin and its header, resolves # Dependencies: on other plugins (prompting to add missing ones), checks # Requires: external tools against PATH and offers to winget install them, backs up the profile (keeping the last 5), and skips anything already installed unless you pass --force.
--whatif dry-runs any operation, --backup-list and --restore <id> handle rollback, and -ProfilePath targets a profile other than the default.