Created
November 23, 2023 00:30
-
-
Save james-see/59665feb3215b709da2268c6b58e341f to your computer and use it in GitHub Desktop.
homebrew & pyenv mac os 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eval "$(/opt/homebrew/bin/brew shellenv)" | |
alias brew='env PATH="${PATH//$(pyenv root)\/shims:/}" brew' | |
export PYENV_ROOT="$HOME/.pyenv" | |
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" | |
eval "$(pyenv init -)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment