brew install python Using homebrew to install python3 on macOS Mojave required a little bit of permissions juggling.sudo install -d -o $(whoami) -g admin /usr/local/Frameworksbrew link pythonvia this gist Newer:git pull, but discard conflicting local changesOlder:macOS terminal color based on current directory PostedAugust 19, 2019 AuthorKelvin Nishikawa