Hacker News new | ask | show | jobs
by al_borland 52 days ago
Most of the aliases are for convenience when working in an interactive shell, which will generally be dealing with more basic functions of a command. For scripting it is best practice to use the full commandlet names.
1 comments

Browsers let me copy-paste curl commands from developer tools. These don’t work with windows «curl».

I know a few flags of curl too. These also don’t generally work with «curl».

So type “curl.exe” instead of “curl” or remove the alias in PowerShell.
I just avoid windows whenever I can.