• Mac下如何安装配置Homebrew


    Last login: Mon Aug 7 13:57:29 on console
    xiashenbindeMacBook-Pro:~ xiashenbin$ ruby -e "$(curl --insecure -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" (第一步)
    ==> This script will install:
    /usr/local/bin/brew
    /usr/local/share/doc/homebrew
    /usr/local/share/man/man1/brew.1
    /usr/local/share/zsh/site-functions/_brew
    /usr/local/etc/bash_completion.d/brew
    /usr/local/Homebrew
    ==> The following existing directories will be made group writable:
    /usr/local/bin
    /usr/local/share
    /usr/local/share/man
    /usr/local/share/man/man1
    /usr/local/share/man/man8
    ==> The following existing directories will have their owner set to xiashenbin:
    /usr/local/bin
    /usr/local/share
    /usr/local/share/man
    /usr/local/share/man/man1
    /usr/local/share/man/man8
    ==> The following existing directories will have their group set to admin:
    /usr/local/bin
    /usr/local/share
    /usr/local/share/man
    /usr/local/share/man/man1
    /usr/local/share/man/man8
    ==> The following new directories will be created:
    /usr/local/Cellar
    /usr/local/Homebrew
    /usr/local/Frameworks
    /usr/local/etc
    /usr/local/include
    /usr/local/lib
    /usr/local/opt
    /usr/local/sbin
    /usr/local/share/zsh
    /usr/local/share/zsh/site-functions
    /usr/local/var

    Press RETURN to continue or any other key to abort
    ==> /usr/bin/sudo /bin/chmod u+rwx /usr/local/bin /usr/local/share /usr/local/share/man /usr/local/share/man/man1 /usr/local/share/man/man8
    Password: XXXX (第二步)
    ==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/bin /usr/local/share /usr/local/share/man /usr/local/share/man/man1 /usr/local/share/man/man8
    ==> /usr/bin/sudo /usr/sbin/chown xiashenbin /usr/local/bin /usr/local/share /usr/local/share/man /usr/local/share/man/man1 /usr/local/share/man/man8
    ==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/bin /usr/local/share /usr/local/share/man /usr/local/share/man/man1 /usr/local/share/man/man8
    ==> /usr/bin/sudo /bin/mkdir -p /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/etc /usr/local/include /usr/local/lib /usr/local/opt /usr/local/sbin /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var
    ==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/etc /usr/local/include /usr/local/lib /usr/local/opt /usr/local/sbin /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var
    ==> /usr/bin/sudo /bin/chmod 755 /usr/local/share/zsh /usr/local/share/zsh/site-functions
    ==> /usr/bin/sudo /usr/sbin/chown xiashenbin /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/etc /usr/local/include /usr/local/lib /usr/local/opt /usr/local/sbin /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var
    ==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/etc /usr/local/include /usr/local/lib /usr/local/opt /usr/local/sbin /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var
    ==> /usr/bin/sudo /bin/mkdir -p /Users/xiashenbin/Library/Caches/Homebrew
    ==> /usr/bin/sudo /bin/chmod g+rwx /Users/xiashenbin/Library/Caches/Homebrew
    ==> /usr/bin/sudo /usr/sbin/chown xiashenbin /Users/xiashenbin/Library/Caches/Homebrew
    ==> /usr/bin/sudo /bin/mkdir -p /Library/Caches/Homebrew
    ==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
    ==> /usr/bin/sudo /usr/sbin/chown xiashenbin /Library/Caches/Homebrew
    ==> Downloading and installing Homebrew...
    remote: Counting objects: 6869, done.
    remote: Compressing objects: 100% (4095/4095), done.
    Receiving objects: 36% (2516/6869), 772.00 KiB | 15.00 KiB/s

    Receiving objects: 100% (6869/6869), 3.65 MiB | 79.00 KiB/s, done.
    Resolving deltas: 100% (4090/4090), done.
    From https://github.com/Homebrew/brew
    * [new branch] master -> origin/master
    * [new tag] 0.1 -> 0.1
    * [new tag] 0.2 -> 0.2
    * [new tag] 0.3 -> 0.3
    * [new tag] 0.4 -> 0.4
    * [new tag] 0.5 -> 0.5
    * [new tag] 0.6 -> 0.6
    * [new tag] 0.7 -> 0.7
    * [new tag] 0.7.1 -> 0.7.1
    * [new tag] 0.8 -> 0.8
    * [new tag] 0.8.1 -> 0.8.1
    * [new tag] 0.9 -> 0.9
    * [new tag] 0.9.1 -> 0.9.1
    * [new tag] 0.9.2 -> 0.9.2
    * [new tag] 0.9.3 -> 0.9.3
    * [new tag] 0.9.4 -> 0.9.4
    * [new tag] 0.9.5 -> 0.9.5
    * [new tag] 0.9.8 -> 0.9.8
    * [new tag] 0.9.9 -> 0.9.9
    * [new tag] 1.0.0 -> 1.0.0
    * [new tag] 1.0.1 -> 1.0.1
    * [new tag] 1.0.2 -> 1.0.2
    * [new tag] 1.0.3 -> 1.0.3
    * [new tag] 1.0.4 -> 1.0.4
    * [new tag] 1.0.5 -> 1.0.5
    * [new tag] 1.0.6 -> 1.0.6
    * [new tag] 1.0.7 -> 1.0.7
    * [new tag] 1.0.8 -> 1.0.8
    * [new tag] 1.0.9 -> 1.0.9
    * [new tag] 1.1.0 -> 1.1.0
    * [new tag] 1.1.1 -> 1.1.1
    * [new tag] 1.1.10 -> 1.1.10
    * [new tag] 1.1.11 -> 1.1.11
    * [new tag] 1.1.12 -> 1.1.12
    * [new tag] 1.1.13 -> 1.1.13
    * [new tag] 1.1.2 -> 1.1.2
    * [new tag] 1.1.3 -> 1.1.3
    * [new tag] 1.1.4 -> 1.1.4
    * [new tag] 1.1.5 -> 1.1.5
    * [new tag] 1.1.6 -> 1.1.6
    * [new tag] 1.1.7 -> 1.1.7
    * [new tag] 1.1.8 -> 1.1.8
    * [new tag] 1.1.9 -> 1.1.9
    * [new tag] 1.2.0 -> 1.2.0
    * [new tag] 1.2.1 -> 1.2.1
    * [new tag] 1.2.2 -> 1.2.2
    * [new tag] 1.2.3 -> 1.2.3
    * [new tag] 1.2.4 -> 1.2.4
    * [new tag] 1.2.5 -> 1.2.5
    * [new tag] 1.2.6 -> 1.2.6
    * [new tag] 1.3.0 -> 1.3.0
    HEAD is now at f57a172 Merge pull request #3013 from reitermarkus/fix-pkg-uninstallation

    ==> Tapping homebrew/core
    Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...
    remote: Counting objects: 4502, done.
    remote: Compressing objects: 100% (4292/4292), done.
    Receiving objects: 59% (2657/4502), 2.08 MiB | 86.00 KiB/s

    Receiving objects: 100% (4502/4502), 3.57 MiB | 105.00 KiB/s, done.
    Resolving deltas: 100% (34/34), done.
    Tapped 4290 formulae (4,547 files, 11.2MB)
    ==> Cleaning up /Library/Caches/Homebrew...
    ==> Migrating /Library/Caches/Homebrew to /Users/xiashenbin/Library/Caches/Homebrew...
    ==> Deleting /Library/Caches/Homebrew...
    Already up-to-date.
    ==> Installation successful! (成功)

    ==> Homebrew has enabled anonymous aggregate user behaviour analytics.
    Read the analytics documentation (and how to opt-out) here:
    http://docs.brew.sh/Analytics.html

    ==> Next steps:
    - Run `brew help` to get started
    - Further documentation:
    http://docs.brew.sh
    xiashenbindeMacBook-Pro:~ xiashenbin$

  • 相关阅读:
    不能访问windows installer服务
    clr/c++自定线程安全集合
    Electron-Vue工程初始化,以及需要掌握的相关知识
    Windows下启动.Net Core程序脚本
    Electron打包
    .Net Core入门与.Net需要注意的地方
    winfrom 点击按钮button弹框显示颜色集
    获取计算机的网卡及打印机信息
    winfrom 界面时间动态加载
    c# winfrom 界面设计
  • 原文地址:https://www.cnblogs.com/xiashenbin/p/7299241.html
Copyright © 2020-2023  润新知