Minimal PowerShell utility for managing the Windows User PATH.
Install upath using a single PowerShell command:
irm "https://raw.githubusercontent.com/xbvuno/win-user-path/main/install.ps1" | iexand you're ready to use it
This installer executes a remote script using
Invoke-RestMethod | Invoke-Expression. Always review the source before installing. Check What gets installed.
- Manage User PATH directly from the terminal
- Prevents duplicate entries (case-insensitive normalization)
- Safe add/remove operations
- Instant session refresh without restarting the terminal
- Lightweight, dependency-free PowerShell script
- User PATH only (no system PATH modifications)
- Automatic normalization of paths
- Duplicate prevention (case-insensitive)
- Persistent changes via Windows environment variables
- Instant session update with
refresh
upath helpupath listupath add "C:\Tools"upath remove "C:\Tools"upath refreshupath is installed locally in:
%LOCALAPPDATA%\upath\
Core script:
%LOCALAPPDATA%\upath\upath.ps1
The installer automatically injects upath into your user path
ISC License