Mac下brew的安装及快速使用archey查看本机信息

johndeMacBook-Air:~ john$ ruby -e "$(curl -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


Press RETURN to continue or any other key to abort

==> Downloading and installing Homebrew...

remote: Counting objects: 96944, done.

remote: Total 96944 (delta 0), reused 0 (delta 0), pack-reused 96944

Receiving objects: 100% (96944/96944), 22.06 MiB | 15.00 KiB/s, done.

Resolving deltas: 100% (70413/70413), 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

 * [new tag]             1.3.1      -> 1.3.1

 * [new tag]             1.3.2      -> 1.3.2

 * [new tag]             1.3.3      -> 1.3.3

 * [new tag]             1.3.4      -> 1.3.4

 * [new tag]             1.3.5      -> 1.3.5

 * [new tag]             1.3.6      -> 1.3.6

 * [new tag]             1.3.7      -> 1.3.7

 * [new tag]             1.3.8      -> 1.3.8

 * [new tag]             1.3.9      -> 1.3.9

 * [new tag]             1.4.0      -> 1.4.0

 * [new tag]             1.4.1      -> 1.4.1

 * [new tag]             1.4.2      -> 1.4.2

 * [new tag]             1.4.3      -> 1.4.3

 * [new tag]             1.5.0      -> 1.5.0

 * [new tag]             1.5.1      -> 1.5.1

 * [new tag]             1.5.2      -> 1.5.2

HEAD is now at 701ecb497 Merge pull request #3747 from MikeMcQuaid/no-tap-deprecated

==> Tapping homebrew/core

Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...

remote: Counting objects: 4640, done.

remote: Compressing objects: 100% (4431/4431), done.

remote: Total 4640 (delta 47), reused 775 (delta 24), pack-reused 0

Receiving objects: 100% (4640/4640), 3.79 MiB | 84.00 KiB/s, done.

Resolving deltas: 100% (47/47), done.

Tapped 4438 formulae (4,681 files, 11.9MB)

==> Cleaning up /Library/Caches/Homebrew...

==> Migrating /Library/Caches/Homebrew to /Users/john/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:

  https://docs.brew.sh/Analytics.html


==> Next steps:

- Run `brew help` to get started

- Further documentation: 

    https://docs.brew.sh

johndeMacBook-Air:~ john$ brew install archey

==> Downloading https://github.com/obihann/archey-osx/archive/1.6.0.tar.gz

==> Downloading from https://codeload.github.com/obihann/archey-osx/tar.gz/1.6.0

######################################################################## 100.0%

��  /usr/local/Cellar/archey/1.6.0: 6 files, 32.8KB, built in 13 seconds

johndeMacBook-Air:~ john$ archey


                 ###                  User: john

               ####                   Hostname: johndeMacBook-Air

               ###                    Distro: OS X 10.13.3

       #######    #######             Kernel: Darwin

     ######################           Uptime: 3 days

    #####################             Shell: /bin/bash

    ####################              Terminal: xterm-256color Apple Terminal

    ####################              CPU: Intel Core i5-4260U CPU @ 1.40GHz

    #####################             Memory: 4 GB

     ######################           Disk: 40%

      ####################            Battery: 79.02%%

        ################              IP Address: 60.183.*

         ####     #####             


猜你喜欢

转载自blog.csdn.net/yangzhyu/article/details/79216384