見出し画像

ターミナルを3億年ぶりくらいに立ち上げたので、まずは Homebrew をアップデートする

■ 経緯

表題の通り。実行ログはそのまま残していく。

■ 手順

brew --version (brew -v)

Homebrew の現行バージョンを確認する。

> brew -v
Homebrew 4.2.20

brew update

Homebrew を更新する。

> brew update
==> Updating Homebrew...
Updated 4 taps (homebrew/cask-versions, k1low/tap, homebrew/core and homebrew/cask).
==> New Formulae
ansible-creator
==> New Casks
msty                                     yass
==> Outdated Formulae
ansible                    gobject-introspection      pango
c-ares                     libnghttp2                 python@3.12
cryptography               libx11                     ruby
docker-completion          libxcb                     sphinx-doc
fribidi                    ncurses                    sqlite
giflib                     nghttp2                    tbls
git                        openjdk                    tree-sitter
go                         openssl@3                  vim
==> Outdated Casks
chatwork                                 chromedriver

You have 24 outdated formulae and 2 outdated casks installed.
You can upgrade them with brew upgrade
or list them with brew outdated.

> brew update
==> Updating Homebrew...
Already up-to-date.

brew -v を実行。 更新されていることを確認する。

> brew -v
Homebrew 4.2.20

brew outdated

最新ではない formula(パッケージ) 一覧を表示する。

> brew outdated
==> Downloading https://formulae.brew.sh/api/formula.jws.json
##O#- #
==> Downloading https://formulae.brew.sh/api/cask.jws.json

ansible (9.4.0) < 9.5.1
c-ares (1.28.0) < 1.28.1
cryptography (42.0.5) < 42.0.6
docker-completion (26.0.0) < 26.1.1
fribidi (1.0.13) < 1.0.14
giflib (5.2.1) < 5.2.2
git (2.44.0) < 2.45.0
go (1.22.1) < 1.22.2
gobject-introspection (1.80.0) < 1.80.1
libnghttp2 (1.60.0) < 1.61.0
libx11 (1.8.8) < 1.8.9
libxcb (1.16.1) < 1.17.0
ncurses (6.4) < 6.5
nghttp2 (1.60.0) < 1.61.0
openjdk (17) < 21.0.3
openssl@3 (3.2.1) < 3.3.0
pango (1.52.1) < 1.52.2
python@3.12 (3.12.2_1) < 3.12.3
ruby (3.3.0) < 3.3.1
sphinx-doc (7.2.6_2) < 7.3.7
sqlite (3.45.2) < 3.45.3
k1low/tap/tbls (1.73.3) < 1.74.2
tree-sitter (0.22.2) < 0.22.5
vim (9.1.0200) < 9.1.0350
chatwork (2.8.1.7275) != 2.8.2.7340
chromedriver (123.0.6312.86) != 124.0.6367.91

brew upgrade

インストール済みの formula を更新する。

> brew upgrade
==> Upgrading 24 outdated packages:
vim 9.1.0200 -> 9.1.0350
tree-sitter 0.22.2 -> 0.22.5
nghttp2 1.60.0 -> 1.61.0
go 1.22.1 -> 1.22.2
ncurses 6.4 -> 6.5
k1low/tap/tbls 1.73.3 -> 1.74.2
cryptography 42.0.5 -> 42.0.6
pango 1.52.1 -> 1.52.2
docker-completion 26.0.0 -> 26.1.1
python@3.12 3.12.2_1 -> 3.12.3
libxcb 1.16.1 -> 1.17.0
sqlite 3.45.2 -> 3.45.3
c-ares 1.28.0 -> 1.28.1
gobject-introspection 1.80.0 -> 1.80.1
fribidi 1.0.13 -> 1.0.14
libnghttp2 1.60.0 -> 1.61.0
ansible 9.4.0 -> 9.5.1
openjdk 17 -> 21.0.3
giflib 5.2.1 -> 5.2.2
openssl@3 3.2.1 -> 3.3.0
sphinx-doc 7.2.6_2 -> 7.3.7
libx11 1.8.8 -> 1.8.9
ruby 3.3.0 -> 3.3.1
git 2.44.0 -> 2.45.0
==> Downloading https://ghcr.io/v2/homebrew/core/ncurses/manifests/6.5
############################################################################## 100.0%
==> Fetching ncurses
==> Downloading https://ghcr.io/v2/homebrew/core/ncurses/blobs/sha256:eb22b3753261f99
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/manifests/3.3.0-1
############################################################################## 100.0%
==> Fetching openssl@3
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/blobs/sha256:f37328addd300
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.45.3
############################################################################## 100.0%
==> Fetching sqlite
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/blobs/sha256:47e8a06001c02bd2
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/manifests/3.12.3
############################################################################## 100.0%
==> Fetching python@3.12
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/blobs/sha256:2bd309f8e32
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/sphinx-doc/manifests/7.3.7
############################################################################## 100.0%
==> Fetching sphinx-doc
==> Downloading https://ghcr.io/v2/homebrew/core/sphinx-doc/blobs/sha256:0084c0936db0
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/giflib/manifests/5.2.2
############################################################################## 100.0%
==> Fetching giflib
==> Downloading https://ghcr.io/v2/homebrew/core/giflib/blobs/sha256:40d390aab5bc396e
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libxcb/manifests/1.17.0
############################################################################## 100.0%
==> Fetching libxcb
==> Downloading https://ghcr.io/v2/homebrew/core/libxcb/blobs/sha256:13fa9f9277a82b64
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libx11/manifests/1.8.9
############################################################################## 100.0%
==> Fetching libx11
==> Downloading https://ghcr.io/v2/homebrew/core/libx11/blobs/sha256:e351920dd44b0b6d
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/openjdk/manifests/21.0.3
############################################################################## 100.0%
==> Fetching dependencies for openjdk: little-cms2
==> Downloading https://ghcr.io/v2/homebrew/core/little-cms2/manifests/2.16
############################################################################## 100.0%
==> Fetching little-cms2
==> Downloading https://ghcr.io/v2/homebrew/core/little-cms2/blobs/sha256:46dd0d6ba92
############################################################################## 100.0%
==> Fetching openjdk
==> Downloading https://ghcr.io/v2/homebrew/core/openjdk/blobs/sha256:0962f564a5b1abc
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/ruby/manifests/3.3.1
############################################################################## 100.0%
==> Fetching ruby
==> Downloading https://ghcr.io/v2/homebrew/core/ruby/blobs/sha256:ab4d9620c9b5fed407
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/cryptography/manifests/42.0.6
############################################################################## 100.0%
==> Fetching cryptography
==> Downloading https://ghcr.io/v2/homebrew/core/cryptography/blobs/sha256:e988b06e05
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/fribidi/manifests/1.0.14
############################################################################## 100.0%
==> Fetching fribidi
==> Downloading https://ghcr.io/v2/homebrew/core/fribidi/blobs/sha256:4e5ad7bbd7039de
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/pango/manifests/1.52.2
############################################################################## 100.0%
==> Fetching pango
==> Downloading https://ghcr.io/v2/homebrew/core/pango/blobs/sha256:c444b645580247700
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/docker-completion/manifests/26.1.1
############################################################################## 100.0%
==> Fetching docker-completion
==> Downloading https://ghcr.io/v2/homebrew/core/docker-completion/blobs/sha256:0872e
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/c-ares/manifests/1.28.1
############################################################################## 100.0%
==> Fetching c-ares
==> Downloading https://ghcr.io/v2/homebrew/core/c-ares/blobs/sha256:acf887fff7983e2e
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/gobject-introspection/manifests/1.80
############################################################################## 100.0%
==> Fetching gobject-introspection
==> Downloading https://ghcr.io/v2/homebrew/core/gobject-introspection/blobs/sha256:4
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libnghttp2/manifests/1.61.0
############################################################################## 100.0%
==> Fetching libnghttp2
==> Downloading https://ghcr.io/v2/homebrew/core/libnghttp2/blobs/sha256:521b7adde05b
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/ansible/manifests/9.5.1
############################################################################## 100.0%
==> Fetching ansible
==> Downloading https://ghcr.io/v2/homebrew/core/ansible/blobs/sha256:f0d0ec6461eb45c
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/vim/manifests/9.1.0350
############################################################################## 100.0%
==> Fetching vim
==> Downloading https://ghcr.io/v2/homebrew/core/vim/blobs/sha256:a06fd29857d6fcdc5df
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/git/manifests/2.45.0
############################################################################## 100.0%
==> Fetching git
==> Downloading https://ghcr.io/v2/homebrew/core/git/blobs/sha256:4871314d2c6eff247f8
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/tree-sitter/manifests/0.22.5
############################################################################## 100.0%
==> Fetching tree-sitter
==> Downloading https://ghcr.io/v2/homebrew/core/tree-sitter/blobs/sha256:042cc37dde6
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/nghttp2/manifests/1.61.0
############################################################################## 100.0%
==> Fetching nghttp2
==> Downloading https://ghcr.io/v2/homebrew/core/nghttp2/blobs/sha256:aee77b84e83bf61
############################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/go/manifests/1.22.2
############################################################################## 100.0%
==> Fetching go
==> Downloading https://ghcr.io/v2/homebrew/core/go/blobs/sha256:6680e1d85d469464957a
############################################################################## 100.0%
==> Fetching k1low/tap/tbls
==> Downloading https://github.com/k1LoW/tbls/releases/download/v1.74.2/tbls_v1.74.2_
==> Downloading from https://objects.githubusercontent.com/github-production-release-
############################################################################## 100.0%
==> Upgrading ncurses
  6.4 -> 6.5
==> Pouring ncurses--6.5.sonoma.bottle.tar.gz
==> Caveats
ncurses is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have ncurses first in your PATH, run:
  echo 'export PATH="/usr/local/opt/ncurses/bin:$PATH"' >> /Users/yukino/.bash_profile

For compilers to find ncurses you may need to set:
  export LDFLAGS="-L/usr/local/opt/ncurses/lib"
  export CPPFLAGS="-I/usr/local/opt/ncurses/include"

For pkg-config to find ncurses you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/ncurses/lib/pkgconfig"
==> Summary
🍺  /usr/local/Cellar/ncurses/6.5: 4,051 files, 9.3MB
==> Running `brew cleanup ncurses`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Removing: /usr/local/Cellar/ncurses/6.4... (4,001 files, 9.4MB)
==> Upgrading openssl@3
  3.2.1 -> 3.3.0
==> Pouring openssl@3--3.3.0.sonoma.bottle.1.tar.gz
🍺  /usr/local/Cellar/openssl@3/3.3.0: 6,976 files, 32.8MB
==> Running `brew cleanup openssl@3`...
Removing: /usr/local/Cellar/openssl@3/3.2.1... (6,874 files, 32.5MB)
==> Upgrading sqlite
  3.45.2 -> 3.45.3
==> Pouring sqlite--3.45.3.sonoma.bottle.tar.gz
🍺  /usr/local/Cellar/sqlite/3.45.3: 11 files, 4.7MB
==> Running `brew cleanup sqlite`...
Removing: /usr/local/Cellar/sqlite/3.45.2... (11 files, 4.7MB)
==> Upgrading python@3.12
  3.12.2_1 -> 3.12.3
==> Pouring python@3.12--3.12.3.sonoma.bottle.tar.gz
==> /usr/local/Cellar/python@3.12/3.12.3/bin/python3.12 -Im ensurepip
==> /usr/local/Cellar/python@3.12/3.12.3/bin/python3.12 -Im pip install -v --no-index --upgrade --isolated --target=/usr/local/lib/python3.12/site-packages /usr/local/Ce
==> Caveats
Python has been installed as
  /usr/local/bin/python3

Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /usr/local/opt/python@3.12/libexec/bin

See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺  /usr/local/Cellar/python@3.12/3.12.3: 3,269 files, 61.5MB
==> Running `brew cleanup python@3.12`...
Removing: /usr/local/Cellar/python@3.12/3.12.2_1... (8,184 files, 182.8MB)
==> Upgrading sphinx-doc
  7.2.6_2 -> 7.3.7
==> Pouring sphinx-doc--7.3.7.sonoma.bottle.tar.gz
==> Caveats
sphinx-doc is keg-only, which means it was not symlinked into /usr/local,
because this formula is mainly used internally by other formulae.
Users are advised to use `pip` to install sphinx-doc.

If you need to have sphinx-doc first in your PATH, run:
  echo 'export PATH="/usr/local/opt/sphinx-doc/bin:$PATH"' >> /Users/yukino/.bash_profile
==> Summary
🍺  /usr/local/Cellar/sphinx-doc/7.3.7: 3,032 files, 55.6MB
==> Running `brew cleanup sphinx-doc`...
Removing: /usr/local/Cellar/sphinx-doc/7.2.6_2... (3,061 files, 55.3MB)
==> Upgrading giflib
  5.2.1 -> 5.2.2
==> Pouring giflib--5.2.2.sonoma.bottle.tar.gz
🍺  /usr/local/Cellar/giflib/5.2.2: 19 files, 363KB
==> Running `brew cleanup giflib`...
Removing: /usr/local/Cellar/giflib/5.2.1... (19 files, 383.3KB)
==> Upgrading libxcb
  1.16.1 -> 1.17.0
==> Pouring libxcb--1.17.0.sonoma.bottle.tar.gz
🍺  /usr/local/Cellar/libxcb/1.17.0: 2,497 files, 6.3MB
==> Running `brew cleanup libxcb`...
Removing: /usr/local/Cellar/libxcb/1.16.1... (2,462 files, 7MB)
==> Upgrading libx11
  1.8.8 -> 1.8.9
==> Pouring libx11--1.8.9.sonoma.bottle.tar.gz
🍺  /usr/local/Cellar/libx11/1.8.9: 1,042 files, 6.7MB
==> Running `brew cleanup libx11`...
Removing: /usr/local/Cellar/libx11/1.8.8... (1,042 files, 6.7MB)
==> Upgrading openjdk
  17 -> 21.0.3
==> Installing dependencies for openjdk: little-cms2
==> Installing openjdk dependency: little-cms2
==> Downloading https://ghcr.io/v2/homebrew/core/little-cms2/manifests/2.16
Already downloaded: /Users/yukino/Library/Caches/Homebrew/downloads/c4e2b31b0daade62da1f3c2e57d69f74987bac35310011b87220145fa60b3558--little-cms2-2.16.bottle_manifest.json
==> Pouring little-cms2--2.16.sonoma.bottle.tar.gz
🍺  /usr/local/Cellar/little-cms2/2.16: 22 files, 1.3MB
==> Installing openjdk
==> Pouring openjdk--21.0.3.sonoma.bottle.tar.gz
==> Caveats
For the system Java wrappers to find this JDK, symlink it with
  sudo ln -sfn /usr/local/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk

openjdk is keg-only, which means it was not symlinked into /usr/local,
because macOS provides similar software and installing this software in
parallel can cause all kinds of trouble.

If you need to have openjdk first in your PATH, run:
  echo 'export PATH="/usr/local/opt/openjdk/bin:$PATH"' >> /Users/yukino/.bash_profile

For compilers to find openjdk you may need to set:
  export CPPFLAGS="-I/usr/local/opt/openjdk/include"
==> Summary
🍺  /usr/local/Cellar/openjdk/21.0.3: 600 files, 330.3MB
==> Running `brew cleanup openjdk`...
Removing: /usr/local/Cellar/openjdk/17... (639 files, 305.1MB)
==> Upgrading ruby
  3.3.0 -> 3.3.1
==> Pouring ruby--3.3.1.sonoma.bottle.tar.gz
==> Downloading https://formulae.brew.sh/api/formula.jws.json

==> Caveats
By default, binaries installed by gem will be placed into:
  /usr/local/lib/ruby/gems/3.3.0/bin

You may want to add this to your PATH.

ruby is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have ruby first in your PATH, run:
  echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> /Users/yukino/.bash_profile

For compilers to find ruby you may need to set:
  export LDFLAGS="-L/usr/local/opt/ruby/lib"
  export CPPFLAGS="-I/usr/local/opt/ruby/include"

For pkg-config to find ruby you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/ruby/lib/pkgconfig"
==> Summary
🍺  /usr/local/Cellar/ruby/3.3.1: 19,715 files, 46.5MB
==> Running `brew cleanup ruby`...
Removing: /usr/local/Cellar/ruby/3.3.0... (19,656 files, 49.5MB)
==> Upgrading cryptography
  42.0.5 -> 42.0.6
==> Pouring cryptography--42.0.6.sonoma.bottle.tar.gz
🍺  /usr/local/Cellar/cryptography/42.0.6: 211 files, 7.7MB
==> Running `brew cleanup cryptography`...
Removing: /usr/local/Cellar/cryptography/42.0.5... (213 files, 7.9MB)
==> Upgrading fribidi
  1.0.13 -> 1.0.14
==> Pouring fribidi--1.0.14.sonoma.bottle.tar.gz
🍺  /usr/local/Cellar/fribidi/1.0.14: 67 files, 633.9KB
==> Running `brew cleanup fribidi`...
Removing: /usr/local/Cellar/fribidi/1.0.13... (67 files, 696.8KB)
==> Upgrading pango
  1.52.1 -> 1.52.2
==> Pouring pango--1.52.2.sonoma.bottle.tar.gz
🍺  /usr/local/Cellar/pango/1.52.2: 68 files, 3MB
==> Running `brew cleanup pango`...
Removing: /usr/local/Cellar/pango/1.52.1... (68 files, 3.2MB)
==> Upgrading docker-completion
  26.0.0 -> 26.1.1
==> Pouring docker-completion--26.1.1.all.bottle.tar.gz
🍺  /usr/local/Cellar/docker-completion/26.1.1: 9 files, 338.7KB
==> Running `brew cleanup docker-completion`...
Removing: /usr/local/Cellar/docker-completion/26.0.0... (9 files, 338.7KB)
==> Upgrading c-ares
  1.28.0 -> 1.28.1
==> Pouring c-ares--1.28.1.sonoma.bottle.tar.gz
🍺  /usr/local/Cellar/c-ares/1.28.1: 166 files, 994.7KB
==> Running `brew cleanup c-ares`...
Removing: /usr/local/Cellar/c-ares/1.28.0... (166 files, 994.6KB)
==> Upgrading gobject-introspection
  1.80.0 -> 1.80.1
==> Pouring gobject-introspection--1.80.1.sonoma.bottle.tar.gz
🍺  /usr/local/Cellar/gobject-introspection/1.80.1: 541 files, 5.6MB
==> Running `brew cleanup gobject-introspection`...
Removing: /usr/local/Cellar/gobject-introspection/1.80.0... (541 files, 5.6MB)
==> Upgrading libnghttp2
  1.60.0 -> 1.61.0
==> Pouring libnghttp2--1.61.0.sonoma.bottle.tar.gz
🍺  /usr/local/Cellar/libnghttp2/1.61.0: 13 files, 756.4KB
==> Running `brew cleanup libnghttp2`...
Removing: /usr/local/Cellar/libnghttp2/1.60.0... (13 files, 792.3KB)
==> Upgrading ansible
  9.4.0 -> 9.5.1
==> Pouring ansible--9.5.1.sonoma.bottle.tar.gz
🍺  /usr/local/Cellar/ansible/9.5.1: 31,285 files, 357.5MB
==> Running `brew cleanup ansible`...
Removing: /usr/local/Cellar/ansible/9.4.0... (31,014 files, 353.6MB)
==> Upgrading vim
  9.1.0200 -> 9.1.0350
==> Pouring vim--9.1.0350.sonoma.bottle.tar.gz
🍺  /usr/local/Cellar/vim/9.1.0350: 2,254 files, 40.3MB
==> Running `brew cleanup vim`...
Removing: /usr/local/Cellar/vim/9.1.0200... (2,233 files, 40.1MB)
==> Upgrading git
  2.44.0 -> 2.45.0
==> Pouring git--2.45.0.sonoma.bottle.tar.gz
==> Caveats
The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the `git-gui` formula.
Subversion interoperability (git-svn) is now in the `git-svn` formula.

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
🍺  /usr/local/Cellar/git/2.45.0: 1,649 files, 50.8MB
==> Running `brew cleanup git`...
Removing: /usr/local/Cellar/git/2.44.0... (1,649 files, 50.3MB)
==> Upgrading tree-sitter
  0.22.2 -> 0.22.5
==> Pouring tree-sitter--0.22.5.sonoma.bottle.tar.gz
🍺  /usr/local/Cellar/tree-sitter/0.22.5: 14 files, 14MB
==> Running `brew cleanup tree-sitter`...
Removing: /usr/local/Cellar/tree-sitter/0.22.2... (14 files, 14MB)
==> Upgrading nghttp2
  1.60.0 -> 1.61.0
==> Pouring nghttp2--1.61.0.sonoma.bottle.tar.gz
🍺  /usr/local/Cellar/nghttp2/1.61.0: 17 files, 2.2MB
==> Running `brew cleanup nghttp2`...
Removing: /usr/local/Cellar/nghttp2/1.60.0... (17 files, 2.3MB)
==> Upgrading go
  1.22.1 -> 1.22.2
==> Pouring go--1.22.2.sonoma.bottle.tar.gz
🍺  /usr/local/Cellar/go/1.22.2: 12,854 files, 254.2MB
==> Running `brew cleanup go`...
Removing: /usr/local/Cellar/go/1.22.1... (12,849 files, 254.2MB)
==> Upgrading k1low/tap/tbls
  1.73.3 -> 1.74.2
==> ./tbls completion bash --out tbls.bash
==> ./tbls completion zsh --out tbls.zsh
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
🍺  /usr/local/Cellar/tbls/1.74.2: 8 files, 73.8MB, built in 16 seconds
==> Running `brew cleanup tbls`...
Removing: /usr/local/Cellar/tbls/1.73.3... (8 files, 84.6MB)
==> Casks with 'auto_updates true' or 'version :latest' will not be upgraded; pass `-
==> Upgrading 2 outdated packages:
chatwork 2.8.1.7275 -> 2.8.2.7340
chromedriver 123.0.6312.86 -> 124.0.6367.91
==> Upgrading chatwork
==> Downloading https://desktop-app.chatwork.com/installer/ChatWork.dmg
############################################################################## 100.0%
Warning: No checksum defined for cask 'chatwork', skipping verification.
==> Backing App 'ChatWork.app' up to '/usr/local/Caskroom/chatwork/2.8.1.7275/ChatWor
==> Removing App '/Applications/ChatWork.app'
==> Moving App 'ChatWork.app' to '/Applications/ChatWork.app'
==> Purging files for version 2.8.1.7275 of Cask chatwork
🍺  chatwork was successfully upgraded!
==> Upgrading chromedriver
==> Downloading https://storage.googleapis.com/chrome-for-testing-public/124.0.6367.9
############################################################################## 100.0%
==> Unlinking Binary '/usr/local/bin/chromedriver'
==> Linking Binary 'chromedriver' to '/usr/local/bin/chromedriver'
==> Purging files for version 123.0.6312.86 of Cask chromedriver
🍺  chromedriver was successfully upgraded!
==> Caveats
==> ncurses
ncurses is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have ncurses first in your PATH, run:
  echo 'export PATH="/usr/local/opt/ncurses/bin:$PATH"' >> /Users/yukino/.bash_profile

For compilers to find ncurses you may need to set:
  export LDFLAGS="-L/usr/local/opt/ncurses/lib"
  export CPPFLAGS="-I/usr/local/opt/ncurses/include"

For pkg-config to find ncurses you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/ncurses/lib/pkgconfig"
==> python@3.12
Python has been installed as
  /usr/local/bin/python3

Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /usr/local/opt/python@3.12/libexec/bin

See: https://docs.brew.sh/Homebrew-and-Python
==> sphinx-doc
sphinx-doc is keg-only, which means it was not symlinked into /usr/local,
because this formula is mainly used internally by other formulae.
Users are advised to use `pip` to install sphinx-doc.

If you need to have sphinx-doc first in your PATH, run:
  echo 'export PATH="/usr/local/opt/sphinx-doc/bin:$PATH"' >> /Users/yukino/.bash_profile
==> openjdk
For the system Java wrappers to find this JDK, symlink it with
  sudo ln -sfn /usr/local/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk

openjdk is keg-only, which means it was not symlinked into /usr/local,
because macOS provides similar software and installing this software in
parallel can cause all kinds of trouble.

If you need to have openjdk first in your PATH, run:
  echo 'export PATH="/usr/local/opt/openjdk/bin:$PATH"' >> /Users/yukino/.bash_profile

For compilers to find openjdk you may need to set:
  export CPPFLAGS="-I/usr/local/opt/openjdk/include"
==> ruby
By default, binaries installed by gem will be placed into:
  /usr/local/lib/ruby/gems/3.3.0/bin

You may want to add this to your PATH.

ruby is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have ruby first in your PATH, run:
  echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> /Users/yukino/.bash_profile

For compilers to find ruby you may need to set:
  export LDFLAGS="-L/usr/local/opt/ruby/lib"
  export CPPFLAGS="-I/usr/local/opt/ruby/include"

For pkg-config to find ruby you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/ruby/lib/pkgconfig"
==> git
The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the `git-gui` formula.
Subversion interoperability (git-svn) is now in the `git-svn` formula.

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> tbls
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

brew outdated を実行。更新されていることを確認。

> brew outdated
==> Downloading https://formulae.brew.sh/api/formula.jws.json
##O=-#    #
==> Downloading https://formulae.brew.sh/api/cask.jws.jso

brew cleanup

インストールされている formula の古いバージョンと、formula や cask (バイナリのみ提供されるパッケージ) のキャッシュを削除する。

> brew cleanup
Removing: /usr/local/Cellar/glib/2.70.0... (444 files, 21MB)
Removing: /usr/local/Cellar/harfbuzz/3.0.0... (68 files, 7.3MB)
Pruned 0 symbolic links and 15 directories from /usr/local
==> This operation has freed approximately 28.3MB of disk space.

brew autoremove

他の formula の依存関係としてのみインストールされたが、不要になった formula を削除する。

> brew autoremove
==> Autoremoving 13 unneeded formulae:
bdw-gc
berkeley-db
c-ares
docker-completion
guile
jemalloc
libev
libffi
libpthread-stubs
nghttp2
sl
tcl-tk
the_silver_searcher
Uninstalling /usr/local/Cellar/sl/5.02... (5 files, 19.9KB)

Warning: The following may be sl configuration files and have not been removed!
If desired, remove them manually with `rm -rf`:
  /usr/local/etc/openssl
  /usr/local/etc/openssl@1.1
  /usr/local/etc/openssl@3
Uninstalling /usr/local/Cellar/nghttp2/1.61.0... (17 files, 2.2MB)
Uninstalling /usr/local/Cellar/docker-completion/26.1.1... (9 files, 338.7KB)
Uninstalling /usr/local/Cellar/libpthread-stubs/0.5... (5 files, 6.9KB)
Uninstalling /usr/local/Cellar/tcl-tk/8.6.14... (3,064 files, 52.8MB)
Uninstalling /usr/local/Cellar/the_silver_searcher/2.2.0... (10 files, 121.6KB)
Uninstalling /usr/local/Cellar/guile/3.0.9_1... (848 files, 59.4MB)
Uninstalling /usr/local/Cellar/libffi/3.4.6... (17 files, 688KB)
Uninstalling /usr/local/Cellar/berkeley-db/18.1.40_2... (44 files, 5.9MB)
Uninstalling /usr/local/Cellar/jemalloc/5.3.0... (16 files, 2.5MB)
Uninstalling /usr/local/Cellar/bdw-gc/8.2.6... (73 files, 1.6MB)
Uninstalling /usr/local/Cellar/c-ares/1.28.1... (166 files, 994.7KB)
Uninstalling /usr/local/Cellar/libev/4.33... (12 files, 484.0KB)

Warning は一旦無視する(´・ω・)キリッ

brew doctor

Homebrewに問題がないか確認する。

> brew doctor
Your system is ready to brew.

■ 参考

Homebrew完全に理解した 
formulaって…bottleって…cellarってなんだっけ?を思い出させていただいた記事。
【Homebrew】コマンド一覧
【Homebrew】便利コマンド一覧
Homebewのコマンドを確認させていただいた記事。


いいなと思ったら応援しよう!