Skip to content

Instantly share code, notes, and snippets.

@ngsctt
Created April 7, 2024 04:33
Show Gist options
  • Save ngsctt/a035a4ac752cd48402809aba569d5afe to your computer and use it in GitHub Desktop.
Save ngsctt/a035a4ac752cd48402809aba569d5afe to your computer and use it in GitHub Desktop.
Steps to install exa on macOS

Install exa on macOS

Steps

  1. Download exa realease archive from Github
  2. Extract and cd into the folder
  3. Copy the executable to /usr/local/bin (optionally sudo):
    cp bin/exa /usr/local/bin
  4. Open the the executable in Finder to remove the GateKeeper quarantine:
    1. Run open /usr/local/bin
    2. Right click on exa and choose 'Open'
  5. Copy the manpages to /usr/local/share/man:
    cp man/exa.1 /usr/local/share/man/man1/
    cp man/exa_colors.5 /usr/local/share/man/man5/
  6. Copy the completions to /usr/local/:
    cp completions/exa.zsh /usr/local/share/zsh/site-functions/_exa
    cp completions/exa.bash /usr/local/etc/bash_completion.d/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment