mac OS 安装homebrew

标签: ,

正在查看 0 条回复
  • 作者
    帖子
    • okass - WirelessLink Forumokass
      参与者
      #1244
      Up
      0
      ::

      mac os 12默认没有安装HomeBrew

      1. 安装代码:

      /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

       

      2. 用homebrew install 软件的格式:

      brew install <package name>

      3. 导出环境变量

      Open the Terminal and type the below command and press Enter.

      export PATH="/opt/homebrew/bin:$PATH"

      then type the below command and press Enter.

      echo 'export PATH="/opt/homebrew/bin:$PATH"' >> $HOME/.zshrc

       

      4. How to check installed packages via Homebrew
      To check the installed package, type brew services list in the terminal.

       brew services list

       

      How to uninstall installed packages
      To removed the installed package, type

        brew uninstall --force <package name>
      访问ChatGPT的可用VPS机房IP推荐 Lisahost美国原生IP搬瓦工美西DMITTripodcloudFrantech
正在查看 0 条回复
  • 哎呀,回复话题必需登录。
WirelessLink Forum
Logo