Skip to content

Instantly share code, notes, and snippets.

@bryan-poulin
Forked from BlakeGardner/install nano.sh
Created August 18, 2025 18:20
Show Gist options
  • Select an option

  • Save bryan-poulin/883a3a91da6406e380b576fd2dc7344e to your computer and use it in GitHub Desktop.

Select an option

Save bryan-poulin/883a3a91da6406e380b576fd2dc7344e to your computer and use it in GitHub Desktop.
Syntax highlighting in nano on Mac OS
# Last updated May, 2024 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 "'"$(brew --cellar nano)"'/*/share/nano/*.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