Skip to content

Instantly share code, notes, and snippets.

@devwolf75
Last active January 6, 2026 21:09
Show Gist options
  • Select an option

  • Save devwolf75/85a14b6ca46df83e6f154bbf9e842529 to your computer and use it in GitHub Desktop.

Select an option

Save devwolf75/85a14b6ca46df83e6f154bbf9e842529 to your computer and use it in GitHub Desktop.
How to remove PowerShell aliases for Scoop installs of tools like Coreutils and other GNU applications
  1. Create a PowerShell profile if you have not. New-Item $profile -force -itemtype file
  2. Edit the profile. notepad $profile
  3. Add the aliases you wish to remove. remove-item alias:<command>
  4. Save and close the PowerShell to reload the profile, or if you wish to use the same window issue the command . $profile to reload the profile.
  5. This can be stepped if you run PowerShell

If you wish to run PowerShell with the defaults you can run it using the -NoProfile flag on the Run window or simply delete the profile that was created.

@devwolf75
Copy link
Author

I personally use @cbucher 's ConsoleZ with PowerShell and have a profile to remove the aliases for the programs installed by @lukesampson's scoop install coreutils command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment