Skip to content

Instantly share code, notes, and snippets.

@phoenixthrush
Forked from BlakeGardner/install nano.sh
Last active August 13, 2025 01:41
Show Gist options
  • Select an option

  • Save phoenixthrush/50311058882b5f85658f3e17da5a400e to your computer and use it in GitHub Desktop.

Select an option

Save phoenixthrush/50311058882b5f85658f3e17da5a400e to your computer and use it in GitHub Desktop.
Nano syntax highlighting on macOS #Nano #macOS #SyntaxHighlighting
# Last updated March, 2022 for Apple silicon Macs
# Install Homebrew if you don't already have it: https://brew.sh
# install nano from homebrew
brew install nano nanorc
# update your nanorc file
echo 'include "/opt/homebrew/share/nanorc/*.nanorc"' >> ~/.nanorc
# close and re-open your terminal and you'll have syntax highlighting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment