Machine installation and uninstallation of HOMEBREW under Mac

The commonly used software installation tool for mac systems is homebrew
I personally think that installation through brew is relatively simple. Here is how to install it

< h2>Install and uninstall homebrew

  • Install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /pre> share picture< /span> 
  • Uninstall
$ cd `brew --prefix` $ rm- rf Cellar $ brew prune $ rm `git ls-files` $ rm -r Library/Homebrew Library/Aliases Library/Formula Library/Contributions $ rm -rf .git $ rm -rf ~/Library/Caches/Homebrew

< span class="cke_reset cke_widget_drag_handler_container">share picture

Homebrew basic Use

  • Install any package

    $ brew install 

    share picture

    Example: Install node

    $ brew install node

    share picture

  • Uninstall any package

    $ brew uninstall 

    share picture

    Example: Uninstall git

    $ brew uninstall git

    share picture

  • Check available packages

    $ brew search 

    share picture

  • View the list of installed packages

    $ brew list< /pre> share picture 
    < /li>
  • View any package letter Information

    $ brew info  share picture 
  • Update Homebrew

    $ brew update

    share picture

  • View Homebrew version

    $ brew -v

    share picture

  • Homebrew help information

    $ brew -h

    share picture

  • Uninstall any installation package
    $ brew uninstall  share picture  

/usr/bin /ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 

share picture

$ cd `brew --prefix` $ rm -rf Cellar $ brew prune $ rm `git ls-files` $ rm -r  Library/Homebrew Library/Aliases Library/Formula Library/Contributions $ rm -rf .git $ rm -rf ~/Library/Caches/Homebrew< /span>

share picture

$ brew install 

share picture

$ brew install node

share picture

$ bre w uninstall 

share picture

$ brew uninstall git

share picture

$ brew search 

Share a picture

$ brew list

share picture

$ brew info 

share picture

$ brew update

Share the picture

$ brew -v

share picture

$ brew -h

share picture< /span>

$ brew uninstall < /pre> share picture 

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1171 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.