Is there way on windows to add an alias for commands in powershell and command prompt?

I want to make it so when I enter docker it will execute podman

I was able to achieve this easily on Linux to were I can always enter docker and it will execute podman, even if I closed the terminal window or rebooted my machine. It was a permanent alias redirect, not a temporary one.

Can this be done on Windows for powershell and command prompt?

No comments yet!

Community stats

  • 5

    Monthly active users

  • 13

    Posts

  • 6

    Comments

Community moderators