Sep-27-2020, 09:01 AM
This works (at least for me) if Python is installed with brew.
If there is no Python in the list then it is not installed with brew.
If you use brew extensively then populated list can be quite long so just pipe it into grep to get only results you are interested in. I use bash but it should work with zsh as well.
brew list
lists all installed formulaes (from man): Quote:list:
List all installed formulae.
If there is no Python in the list then it is not installed with brew.
If you use brew extensively then populated list can be quite long so just pipe it into grep to get only results you are interested in. I use bash but it should work with zsh as well.
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.