In command prompt, `where python` tells you the path of your Python executable. ...

@simon@procrastodon.net

In command prompt, `where python` tells you the path of your Python executable.
In powershell, `where python` returns nothing. Not because Python isn't on your path--you know, the normal reason the "where" command would return nothing--but because it's a Powershell alias to where-object, which is a conditional filter you can pipe a list of objects to. When you just type it into Powershell with no input, it filters your empty input and returns no output, which mirrors the behaviour of the old "where" command when you type the name of an executable that isn't on your path. It took me way too long to figure out that the command wasn't doing what I thought it did.
Microsoft has the `get-command` command (alias gcm), and typing `get-command uv` returns this beautifully concise output:
CommandType Name Version Source
----------- ---- ------- ------
Application uv.exe 0.0.0.0 c:\users\simon jaeger\.local\bin\uv.exe
One day, maybe I'll get used to this wildly verbose shell.