Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Use zsh from MacPorts in MacOS
# Install latest zsh version using macports
sudo port install zsh
# Add macports zsh as an available shell interpreter
echo /opt/local/bin/zsh >> /etc/shells
# Set macports zsh as the default shell interpreter
chsh -s /opt/local/bin/zsh
# Open a new terminal window
open -a Terminal -n
# Confirm by checking the zsh version in the new terminal window
echo $ZSH_VERSION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment