Because macOS now uses Zsh instead of Bash, we have to modify the ~/.zshrc file. 1 2 3 echo 'export CLICOLOR=1' >> ~/.zshrc echo 'alias ls="ls -G"' >> ~/.zshrc echo 'alias ll="ls -lG"' >> ~/.zshrc We could test it with ls ll