Skip to content

Instantly share code, notes, and snippets.

@khys
Last active June 12, 2025 10:44
Show Gist options
  • Save khys/5fda5b8db75a94508d3a98e87380fbaf to your computer and use it in GitHub Desktop.
Save khys/5fda5b8db75a94508d3a98e87380fbaf to your computer and use it in GitHub Desktop.

Revisions

  1. khys revised this gist Dec 23, 2018. No changes.
  2. khys revised this gist Dec 23, 2018. No changes.
  3. khys created this gist Dec 23, 2018.
    16 changes: 16 additions & 0 deletions brew-health
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    #!/bin/bash

    echo "> brew upgrade --cleanup"
    brew upgrade --cleanup
    echo "> brew cleanup -s"
    brew cleanup -s
    echo "> brew prune -n"
    brew prune -n
    echo "> brew prune"
    brew prune
    echo "> brew bundle --global check"
    brew bundle --global check
    echo "> brew bundle --global cleanup"
    brew bundle --global cleanup
    echo "> brew doctor"
    brew doctor