ネットワークだけでなく、最近ではM365をふれる機会の多くなってきたインフラエンジニアです。
会社のPCはWindowsのため、標準でPowerShellを使用することができるのですが、家の端末はMac。
PowerShellは入っていません。
調べてみると、MacOSにもPowerShellをインストールできるという記事がMicrosoftから出ていました。
一応対応バージョンでした。
インストール進めます。
・MacOS 10.13以降であること
・Home Brewがインストールされていること
MacOSのバージョンは、左上の🍎マークをクリックし「このMacについて」を選択することで確認できます。
わたしの環境だと、表示されるのはこの通り。バージョンは、10.13.6でしたので、前提条件クリアです。
次にHome Brewです。HomeBrewは、MacOS用のパッケージマネージャーです。
初期状態ではインストールされていないソフトですが、インストールはシンプルです。
ホーム画面の上のメニューから「移動」をクリック、リストの中の「ユーティリティ」を選択し、「ターミナル」をダブルクリックします。
ターミナルが表示されたら、次のコマンドを入力し、実行することで、HomeBrewをインストールされます。
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
私は以前Pythonをインストールした際に、HomeBrewインストール済でした。
それでは、PowerShellをインストール!
MacBook-Air:~ Username$ brew install --cask powershell
Updating Homebrew...
==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-r
・
・
途中省略
・
・
==> Downloading https://github.com/PowerShell/PowerShell/releases/download/v7.2.
==> Downloading from https://objects.githubusercontent.com/github-production-rel
######################################################################## 100.0%
Error: macOS Mojave or newer is required for this software.
MacBook-Air:~ Username$
エラーです。MacOS Mojave(10.14)かもっと新しいものが必要だって。
10.13以降っていうのは、10.13は入ってないのね。。。OSのアップデートか。
確定申告でExcel使っているので、その後ですかね。
Mac OSを10.13から10.15にバージョンアップ。ログの途中を省略します。
MacBook-Air:~ Username$ brew install --cask powershell Running `brew update --preinstall`... ==> Downloading https://ghcr.io/v2/homebrew/core/gettext/manifests/0.21 ・ ・ ・ installer: The install was successful. 🍺 powershell was successfully installed! MacBook-Air:~ Username$
PowerShellのインストール成功!
pwshを起動し、AzureADへの接続コマンド「Connect-AzureAD」を実行してみます。
MacBook-Air:~ Username$ pwsh PowerShell 7.2.1 Copyright (c) Microsoft Corporation. https://aka.ms/powershell Type 'help' to get help. PS /Users/shigeyuki> Connect-AzureAD Connect-AzureAD: The term 'Connect-AzureAD' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. PS /Users/shigeyuki>
見事にエラーとなりました。
Connect-AzureADがコマンドとして認識されていないエラーのようです。
PowerShellのインストールはできたのですが、PowerShellにAzureAD接続用のモジュールがまだ入っていないので、AzureADに関するコマンドが認識されずエラーとなっていると思われます。
PowerShellにモジュールを追加インストールします。
Azure ADにPowerShellで接続する。
Install-Module -Name AzureAD Connect-AzureAD Connect-MsolService
MacBook-Air:~ Username$ brew install --cask powershell Running `brew update --preinstall`... ==> Downloading https://ghcr.io/v2/homebrew/core/gettext/manifests/0.21 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gettext/blobs/sha256:cdea54f52b ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/pcre2/manifests/10.39 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/pcre2/blobs/sha256:583378673b02 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/git/manifests/2.35.1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/git/blobs/sha256:362820c1071869 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Installing dependencies for git: gettext and pcre2 ==> Installing git dependency: gettext ==> Pouring gettext--0.21.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/gettext/0.21: 1,953 files, 19.0MB ==> Installing git dependency: pcre2 ==> Pouring pcre2--10.39.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/pcre2/10.39: 230 files, 6.2MB ==> Installing git ==> Pouring git--2.35.1.catalina.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 Emacs Lisp files have been installed to: /usr/local/share/emacs/site-lisp/git ==> Summary 🍺 /usr/local/Cellar/git/2.35.1: 1,523 files, 43.0MB ==> Running `brew cleanup git`... Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`). xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun ==> Upgrading 7 dependents: Disable this behaviour by setting HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`). cairo 1.16.0_2 -> 1.16.0_5, glib 2.62.2 -> 2.70.4, gnutls 3.6.10 -> 3.7.3, harfbuzz 2.6.2 -> 3.4.0, libass 0.14.0_1 -> 0.15.2, libidn2 2.2.0_1 -> 2.3.2, ffmpeg 4.2.1_2 -> 5.0 ==> Downloading https://ghcr.io/v2/homebrew/core/libffi/manifests/3.4.2 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libffi/blobs/sha256:6dbeaf8209b ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/pcre/manifests/8.45 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/pcre/blobs/sha256:180d88dc2230e ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/pkg-config/manifests/0.29.2_3 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/pkg-config/blobs/sha256:80f141e ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gdbm/manifests/1.23 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gdbm/blobs/sha256:47e4821fa0379 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/mpdecimal/manifests/2.5.1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/mpdecimal/blobs/sha256:1a831442 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/manifests/1.1.1m ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/blobs/sha256:c533c1 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/readline/manifests/8.1.2 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/readline/blobs/sha256:7346c1c37 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.38.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/blobs/sha256:99bd4062c84 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.2.5 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/xz/blobs/sha256:2dcc8e0121c934d ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% Error: python@3.9: the bottle needs the Apple Command Line Tools to be installed. You can install them, if desired, with: xcode-select --install You can try to install from source with: brew install --build-from-source python@3.9 Please note building from source is unsupported. You will encounter build failures with some formulae. If you experience any issues please create pull requests instead of asking for help on Homebrew's GitHub, Twitter or any other official channels. ==> Downloading https://ghcr.io/v2/homebrew/core/freetype/manifests/2.11.1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/freetype/blobs/sha256:e5f8d1d7a ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% Error: python@3.9: the bottle needs the Apple Command Line Tools to be installed. You can install them, if desired, with: xcode-select --install You can try to install from source with: brew install --build-from-source python@3.9 Please note building from source is unsupported. You will encounter build failures with some formulae. If you experience any issues please create pull requests instead of asking for help on Homebrew's GitHub, Twitter or any other official channels. ==> Downloading https://ghcr.io/v2/homebrew/core/libunistring/manifests/1.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libunistring/blobs/sha256:3b5bb ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libidn2/manifests/2.3.2 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libidn2/blobs/sha256:71c5f183ae ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gmp/manifests/6.2.1_1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gmp/blobs/sha256:5ee7a460668864 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/bdw-gc/manifests/8.0.6 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/bdw-gc/blobs/sha256:0473379cc9c ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/m4/manifests/1.4.19 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/m4/blobs/sha256:e0fec6a49fd80cc ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libtool/manifests/2.4.6_4 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libtool/blobs/sha256:ad541ac37b ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/guile/manifests/3.0.8 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/guile/blobs/sha256:13c2dbd3e20e ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libtasn1/manifests/4.18.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libtasn1/blobs/sha256:2c8cc66c9 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/nettle/manifests/3.7.3 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/nettle/blobs/sha256:f1f1c41bf3d ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/p11-kit/manifests/0.24.1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/p11-kit/blobs/sha256:dc5592e236 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libevent/manifests/2.1.12 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libevent/blobs/sha256:b5f5e7607 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libnghttp2/manifests/1.46.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libnghttp2/blobs/sha256:35666c8 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/unbound/manifests/1.15.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/unbound/blobs/sha256:3eb38a1d5c ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gnutls/manifests/3.7.3 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gnutls/blobs/sha256:e4bd55f4284 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% Error: python@3.9: the bottle needs the Apple Command Line Tools to be installed. You can install them, if desired, with: xcode-select --install You can try to install from source with: brew install --build-from-source python@3.9 Please note building from source is unsupported. You will encounter build failures with some formulae. If you experience any issues please create pull requests instead of asking for help on Homebrew's GitHub, Twitter or any other official channels. ==> Downloading https://ghcr.io/v2/homebrew/core/fribidi/manifests/1.0.11 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/fribidi/blobs/sha256:9ae1580fef ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% Error: python@3.9: the bottle needs the Apple Command Line Tools to be installed. You can install them, if desired, with: xcode-select --install You can try to install from source with: brew install --build-from-source python@3.9 Please note building from source is unsupported. You will encounter build failures with some formulae. If you experience any issues please create pull requests instead of asking for help on Homebrew's GitHub, Twitter or any other official channels. ==> Downloading https://ghcr.io/v2/homebrew/core/brotli/manifests/1.0.9 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/brotli/blobs/sha256:a382d95787c ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/giflib/manifests/5.2.1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/giflib/blobs/sha256:ad97d175fa7 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/imath/manifests/3.1.4 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/imath/blobs/sha256:9c18609d792b ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/jpeg/manifests/9e ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/jpeg/blobs/sha256:4c19f39c827ee ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/openexr/manifests/3.1.4 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/openexr/blobs/sha256:ce12dfc025 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libtiff/manifests/4.3.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libtiff/blobs/sha256:e413c1170e ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/webp/manifests/1.2.2 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/webp/blobs/sha256:5cf57e838f218 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/jpeg-xl/manifests/0.6.1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/jpeg-xl/blobs/sha256:ef47fc0d2d ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libvmaf/manifests/2.3.0_1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libvmaf/blobs/sha256:2fca144593 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/aom/manifests/3.2.0_2 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/aom/blobs/sha256:96714bc74e2a9e ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/dav1d/manifests/0.9.2 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/dav1d/blobs/sha256:6bbb978d3c3b ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/frei0r/manifests/1.7.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/frei0r/blobs/sha256:5076041b5f3 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% Error: python@3.9: the bottle needs the Apple Command Line Tools to be installed. You can install them, if desired, with: xcode-select --install You can try to install from source with: brew install --build-from-source python@3.9 Please note building from source is unsupported. You will encounter build failures with some formulae. If you experience any issues please create pull requests instead of asking for help on Homebrew's GitHub, Twitter or any other official channels. ==> Upgrading libidn2 2.2.0_1 -> 2.3.2 ==> Installing dependencies for libidn2: libunistring ==> Installing libidn2 dependency: libunistring ==> Pouring libunistring--1.0.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/libunistring/1.0: 56 files, 4.8MB ==> Installing libidn2 ==> Pouring libidn2--2.3.2.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/libidn2/2.3.2: 77 files, 846.5KB ==> Running `brew cleanup libidn2`... Removing: /usr/local/Cellar/libidn2/2.2.0_1... (70 files, 700.7KB) ==> Upgrading gnutls 3.6.10 -> 3.7.3 ==> Installing dependencies for gnutls: gmp, bdw-gc, libffi, m4, libtool, pkg-config, readline, guile, libtasn1, nettle, p11-kit, openssl@1.1, libevent, libnghttp2 and unbound ==> Installing gnutls dependency: gmp ==> Pouring gmp--6.2.1_1.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/gmp/6.2.1_1: 21 files, 3.3MB ==> Installing gnutls dependency: bdw-gc ==> Pouring bdw-gc--8.0.6.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/bdw-gc/8.0.6: 69 files, 1.6MB ==> Installing gnutls dependency: libffi ==> Pouring libffi--3.4.2.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/libffi/3.4.2: 17 files, 599.8KB ==> Installing gnutls dependency: m4 ==> Pouring m4--1.4.19.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/m4/1.4.19: 13 files, 724.4KB ==> Installing gnutls dependency: libtool ==> Pouring libtool--2.4.6_4.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/libtool/2.4.6_4: 75 files, 3.7MB ==> Installing gnutls dependency: pkg-config ==> Pouring pkg-config--0.29.2_3.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/pkg-config/0.29.2_3: 11 files, 624.0KB ==> Installing gnutls dependency: readline ==> Pouring readline--8.1.2.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/readline/8.1.2: 48 files, 1.6MB ==> Installing gnutls dependency: guile ==> Pouring guile--3.0.8.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/guile/3.0.8: 846 files, 62.8MB ==> Installing gnutls dependency: libtasn1 ==> Pouring libtasn1--4.18.0.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/libtasn1/4.18.0: 61 files, 650.4KB ==> Installing gnutls dependency: nettle ==> Pouring nettle--3.7.3.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/nettle/3.7.3: 89 files, 2.7MB ==> Installing gnutls dependency: p11-kit ==> Pouring p11-kit--0.24.1.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/p11-kit/0.24.1: 67 files, 3.6MB ==> Installing gnutls dependency: openssl@1.1 ==> Pouring openssl@1.1--1.1.1m.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/openssl@1.1/1.1.1m: 8,081 files, 18.5MB ==> Installing gnutls dependency: libevent ==> Pouring libevent--2.1.12.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/libevent/2.1.12: 57 files, 1.9MB ==> Installing gnutls dependency: libnghttp2 ==> Pouring libnghttp2--1.46.0.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/libnghttp2/1.46.0: 13 files, 674.1KB ==> Installing gnutls dependency: unbound ==> Pouring unbound--1.15.0.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/unbound/1.15.0: 58 files, 5.8MB ==> Installing gnutls ==> Pouring gnutls--3.7.3.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/gnutls/3.7.3: 1,280 files, 10.9MB ==> Running `brew cleanup gnutls`... Removing: /usr/local/Cellar/gnutls/3.6.10... (1,229 files, 10.0MB) ==> Checking for dependents of upgraded formulae... ==> No broken dependents to reinstall! ==> Caveats ==> 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 Emacs Lisp files have been installed to: /usr/local/share/emacs/site-lisp/git Error: 'git' must be installed and in your PATH! ==> Caveats To use Homebrew in PowerShell, set: Add-Content -Path $PROFILE.CurrentUserAllHosts -Value '$(/usr/local/bin/brew shellenv) | Invoke-Expression' ==> Downloading https://github.com/PowerShell/PowerShell/releases/download/v7.2. Already downloaded: /Users/shigeyuki/Library/Caches/Homebrew/downloads/bbb62a7b27dab60ba6107a68929d2373a1fa1b6e30538ee626d7f7bd4057b13d--powershell-7.2.1-osx-x64.pkg ==> Installing dependencies: openssl@3 ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/manifests/3.0.1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/blobs/sha256:3d687315 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Installing openssl@3 ==> Pouring openssl@3--3.0.1.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/openssl@3/3.0.1: 6,420 files, 28.2MB ==> Installing Cask powershell ==> Creating Caskroom directory: /usr/local/Caskroom We'll set permissions properly so we won't need sudo in the future. Password: ==> Running installer for powershell; your password may be necessary. Package installers may write to any location; options such as `--appdir` are ignored. installer: Package name is PowerShell - 7.2.1 installer: Installing at base path / installer: The install was successful. 🍺 powershell was successfully installed! MacBook-Air:~ Username$
MacBook-Air:~ Username$ brew install --cask powershell Updating Homebrew... ==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:0cb1cc7af109437fe0e020c9f3b7b95c3c709b140bde9f991ad2c1433496dd42 ######################################################################## 100.0% ==> Pouring portable-ruby-2.6.8.yosemite.bottle.tar.gz ==> Homebrew has enabled anonymous aggregate formula and cask analytics. Read the analytics documentation (and how to opt-out) here: https://docs.brew.sh/Analytics No analytics have been recorded yet (nor will be during this `brew` run). ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> New Formulae abi-compliance-checker libsigrokdecode abi-dumper libslirp abricate libsm abseil libsoup@2 acl2 libtirpc act libtorch actionlint libtorrent-rakshasa adios2 libunwind aerc libva age libvdpau aida-header libvnc airshare libx11 airspyhf libxau alda libxaw alembic libxaw3d alerter libxcb aliddns libxcomposite all-repos libxcursor alpscore libxdamage alsa-lib libxdmcp amfora libxext amp libxfixes ansible@2.8 libxfont ansible@2.9 libxft ansilove libxi apache-pulsar libxinerama apidoc libxkbfile apollo-cli libxls apt libxml++@4 arb libxml++@5 archey4 libxmu archiver libxp argo libxpm argocd libxrandr argocd-autopilot libxrender argocd-vault-plugin libxres arkade libxscrnsaver arrayfire libxshmfence artillery libxt arturo libxtst as-tree libxv ascii2binary libxvmc asimov libxxf86dga asroute libxxf86vm asuka licensefinder asymptote lighthouse asyncapi lilypond at-spi2-atk lima at-spi2-core linode-cli athenacli linux-headers@4.15 atkmm@2.28 linux-headers@5.16 atlas linux-pam atmos liqoctl atop liquidctl attr lit atuin litecli austin literate-git autoconf@2.69 lizard-analyzer autodiff llvm@11 autorestic llvm@12 avahi llvm@9 aws-console lm-sensors aws-rotate-key localstack aws-sso-util locust aws-vault logcli awscli@1 logswan awscurl loki awsweeper lp_solve azcopy lsix b3sum lttng-ust baidupcs-go lua-language-server bandit lua@5.3 bandwhich luajit-openresty bas55 luau bash-language-server lunchy bash_unit lunchy-go basis_universal lunzip bat-extras luv bbtools ly bcoin lychee beancount lziprecover bgpq4 macchina biber macos-term-size bic macos-trash bingrep magic_enum bioperl mailcatcher biosig mandown bit-git manticoresearch bk mapcidr blaze marcli blis mariadb@10.4 blogc mariadb@10.5 bnfc markdownlint-cli bombadillo marked bond marp-cli boost@1.76 mask bootloadhid massdns borgbackup mathlibtools bosh-cli matplotplusplus bottom matterbridge box2d maturin bpython mavsdk bpytop mbedtls@2 brev mcfly brigade-cli md4c brook mdzk btop meilisearch bubblewrap mermaid-cli buildozer mesa-glu buildpulse-test-reporter mhonarc bupstash microplane c7n microsocks ca-certificates mimalloc cacli minipro cadence minisat cadence-workflow mist cadical mlpack caire mmctl cairomm@1.14 mmtabbarview calceph moar canfigger mockery cargo-audit mockolo cargo-bloat mold cargo-c mongocli cargo-edit mongosh cargo-instruments monolith cargo-llvm-lines moto cargo-outdated mpdecimal cargo-watch mpi4py carton mpv cartridge-cli mrbayes cassandra-cpp-driver msc-generator cassandra@3 msgpack-cxx cassowary mt32emu castget mtoc cava muffet cbc multi-git-status cbmc multitime ccfits murex ccheck mx cctz mysql-client@5.7 cddlib naabu cdk8s name-that-hash cdktf nanoflann cdo nanorc cedille nauty celero nbsdgames cf-tool ncc cfn-flip ncnn cfn-format ncspot cgif nebula cgl nef cgns neovim-qt chalk-cli neovim-remote charge nerdctl charmcraft nest chars net-tools chart-testing netmask checkmake networkit checkov never cherrytree newrelic-cli chezmoi newrelic-infra-agent choose-rust nfpm chroma ngs chrony nift chrpath node-sass cidr2range node@12 cilium-cli node@14 ciphey node@16 clair nomino clang-format@11 notcurses clang-format@8 notmuch-mutt clarinet nox clash ns-3 claws-mail nsh clazy nuclei cli11 numactl clickhouse-cpp numcpp clickhouse-odbc numdiff clip oakc cloud-nuke oauth2l cloudflare-wrangler obfs4proxy cloudformation-cli ocaml-zarith cloudformation-guard oci-cli cloudiscovery odin clusterctl odo-dev cmake-docs oh-my-posh cmt oha cobalt oil coconut oksh code-minimap okteto code-server omake coin3d onedrive colfer onnxruntime colima open-adventure commitizen openalpr condure openexr@2 confd openfast conftest openfpgaloader conmon openfst container-structure-test openj9 copier openjdk copilot openjdk@11 coredns openjdk@8 corepack openliberty-jakartaee8 corral openliberty-jakartaee9 cortex openliberty-microprofile4 cosign openliberty-webprofile8 counterfeiter openliberty-webprofile9 coursier openlibm cpio openmama cpm openmodelica cpplint opensearch cppman opensearch-dashboards cpptoml openssl@3 cppzmq openstackclient cpr oq cpufetch or-tools cqlkit oras crackpkcs orgalorg crane organize-tool crcany ormolu cri-tools ory-hydra crispy-doom osc-cli croaring osi croc osinfo-db cruft osinfo-db-tools crun osm csview osmcoastline csvtk ots ctlptl overdrive cubejs-cli ox cucumber-ruby packetbeat cue packr cups pam-reattach curlie pandoc-include-code cvs-fast-export pandoc-plot cwb3 pandocomatic cyral-gimme-db-token parallel-hashmap darglint pari-elldata dasel pari-galdata datafusion pari-galpol datalad pari-seadata datasette pari-seadata-big datree parliament db-vcs parquet-cli dbdeployer pass-git-helper ddcctl payload-dumper-go delve pcalc demumble pcp detach pdf2djvu detect-secrets pdftilecut detekt pdm devdash periscope device-mapper pfetch dgraph pgxnclient dhall-lsp-server phive dhall-yaml php-cs-fixer@2 diesel php@7.3 diskonaut php@7.4 djhtml php@8.0 djl-serving phpbrew dmagnetic pickle dnsprobe pillow dnsx pinot doc8 pip-audit docker-slim pip-tools doctest pipgrip docui pkg-config-wrapper docuum pkgconf dog pkger dolt plow dory po4a dosbox-staging pocsuite3 dotbot podman dotenv-linter poetry dotnet polynote dprint poppler-qt5 driftctl postgresql@11 drill postgresql@12 dstask postgresql@13 dsvpn powerline-go dtm principalmapper dua-cli procps duckdb proj@7 duckscript projectm duf prometheus-cpp duktape promtail dune protoc-gen-go-grpc dynet protoc-gen-gogo dynomite protoc-gen-gogofaster earthly protoc-gen-grpc-web easy-rsa prover9 efm-langserver psalm ehco psc-package eigenpy ptpython eksctl publish elan-init pueue eleventy pure elfutils pwncat elixir-ls px elvis py-spy emacs-dracula pydocstyle empty pyflow enkits pympress ensmallen pyoxidizer envoy pyqt-3d enzyme pyqt-builder epr pyqt-networkauth erlang@22 pyright erlang@23 pyside@2 erofs-utils python-launcher esbuild python-tabulate esphome python-tk@3.10 etcd-cpp-apiv3 python-tk@3.9 eureka python@3.10 eva python@3.7 evernote2md python@3.8 f2 python@3.9 f3d pythran fabric-installer pywhat faiss qodem fann qp fanyi qrcp fargatecli qt-libiodbc fastfec qt-mariadb fastlane qt-mysql fastp qt-percona-server fastq-tools qt-postgresql fava qt-unixodbc fb303 qthreads fblog quill fbthrift qwt-qt5 fcp rain fdroidcl range2cidr fennel rav1e feroxbuster raxml-ng fetch rbtools ffmpeg@4 rbw ffuf rcm fheroes2 rdkit fileicon red-tldr findent reg findomain regipy firefoxpwa regula fisher reorder-python-imports fizz reproc flamebearer reshape flamegraph revive flank rgf flarectl rhit flash richmd fleet-cli rizin flint rm-improved flit rmw flow-cli roapi fluid-synth@2.1 rollup flux ronn fnlfmt rosa-cli fnm rover fnt rpg-cli folderify rpki-client font-util rqlite forcecli rsc_2fa foreman rtl_433 forge rtorrent fpart rttr fpdns ruby@2.6 fplll ruby@2.7 fprettify ruby@3.0 frum rubyfmt fst run func-e rune functionalplus rure fuse-overlayfs rust-analyzer fypp rustfmt g2o rustscan gallery-dl s2n gateway-go s4cmd gau sail gcalcli salt-lint gcc@10 saltwater gcc@9 samba gdbgui saml2aws gdu sampler geph2 samurai geph4 scalingo gh scorecard ghc@8.8 scotch ghc@9 scry ghcup sdns ghostunnel seal ghz search-that-hash ghz-web seaweedfs gimme-aws-creds selene git-annex-remote-rclone semgrep git-branchless semtag git-bug sentencepiece git-cliff seqkit git-credential-libsecret server-go git-filter-repo sevenzip git-gui sextractor git-hooks-go shallow-backup git-hound sheldon git-remote-codecommit showkey git-remote-gcrypt shtools git-svn sigrok-cli git-trim silicon git-xargs simde gitbackup simdjson gitbatch singularity gitlab-ci-local six gitlint skylighting gitql skymaker gitui sleef gitwatch slides giza slirp4netns glab smlpkg glibc smu glow smug gluon snap gmailctl sniffer gnirehtet sniffglue gnupg@2.2 snowpack go-boring so go-critic soapyrtlsdr go-jsonnet soapysdr go@1.13 solana go@1.14 solargraph go@1.15 solidity go@1.16 sollya goawk sonic gobo spaceship gocloc spack gofish spago gofumpt spdx-sbom-generator gojq spectra golangci-lint spirv-llvm-translator gomodifytags sponge googletest spot gopass-jsonapi spotify-tui gopls spotifyd goplus sql-lint goproxy sqlancer goredo sqlbench gosec sqlc gostatic sqlfluff gotests sqlite-utils gotify sqlx-cli gotop sqsmover gpg-tui sshs gping standardese gradle-profiler staticcheck gradle@6 statix grafana-agent storj-uplink graphql-cli stp graphqurl strace gravity structurizr-cli grepip stylua grex subfinder grokj2k svgbob grokmirror swift-format grpcui swift-sh gtkmm4 swiftplantuml gtksourceview5 symengine gtop sysstat guile@2 systemd gulp-cli t-rec h2c tagref h2spec tailscale halide talisman haruhi-dl tanka hashlink tarlz haskell-language-server taskwarrior-tui hasura-cli tbb@2020 hblock tctl hcl2json teku hcxtools tendermint hdf5-mpi tengo hdf5@1.10 termcolor hdt terminalimageviewer heksa terracognita helib terraform-ls helm@2 terraform-lsp heppdt2 terraform-provider-libvirt hexo terraform-rover himalaya terraform@0.12 hpack terraform@0.13 hsd terrahelp htmlq terrascan htmltest texlab http-prompt texlive httpx textidote hubble tfk8s hurl tfmigrate hy tfproviderlint i2c-tools tfschema i686-elf-binutils tfsec i686-elf-gcc tfupdate iam-policy-json-to-terraform tgenv iblinter thanos iconsur thrax idris2 threemux imap-backup tidy-viewer imath tilt imgproxy timg immudb tio indicators tlx influxdb-cli tm influxdb@1 tmuxp infracost tomcat@9 inframap toml11 inja toot inko torchvision inotify-tools tracker instalooter trader inxi trailscraper ioctl tre-command iodine trec_eval ipinfo-cli tree-sitter iproute2 trimage iputils trojan-go iredis truffle isa-l trunk isl@0.18 tsduck isort tssh ivtools tty-share java-service-wrapper tweak jc twty jello tz jellyfish uftrace jerryscript ugrep jimtcl umple jinx uni jless universal-ctags jobber unum jolie uptoc joplin-cli urlwatch jpdfbookmarks usb.ids jpeg-xl usbutils jql utf8cpp jrsonnet util-macros json5 uutils-coreutils jsonnet-bundler uuu jsonschema v2ray julia vala-language-server juliaup vale k2tf vapor k3sup vc k9s vcpkg kalker vermin kamel vespa-cli katago vgrep kcgi viddy kcptun vint kdoctor virtualenv keptn virtualenvwrapper kertish-dfs virustotal-cli keydb vite khiva vitess ki viu kickstart vivid killswitch vkectl kind vlang klee vlmcsd kn volk ko volta komposition vpn-slice kona vroom kondo vsearch kopia vsh kotlin-language-server vtable-dumper krew vtk@8.2 ksync vue-cli kube-linter vulture kube-score waffle kubecm wangle kubeconform wapm kubergrunt wasm-pack kubernetes-cli@1.22 wasm3 kubescape wasmer kubeval wasmtime kubevela wayland kubie wayland-protocols kumactl waypoint kyverno webhook lab webify ladspa-sdk webp-pixbuf-loader lanraragi websocketpp lastz weggli latexindent west latino wgcf lc0 whistle ld-find-code-refs wildmidi ldpl wllvm leaf wolfmqtt leaf-proxy wordgrinder leakcanary-shark wownero lefthook wren lexbor wren-cli libadwaita x86_64-elf-gdb libaec xauth libaio xbitmaps libavif xcb-proto libb64 xcb-util libbsd xcb-util-cursor libcap xcb-util-image libcap-ng xcb-util-keysyms libcbor xcb-util-renderutil libcouchbase@2 xcb-util-wm libcpuid xcbeautify libdeflate xcinfo libdmx xclogparser libdrm xcprojectlint libffcall xdpyinfo libfido2 xfig libfontenc xinput libfs xkeyboardconfig libfuse xlearn libfuse@2 xorgproto libgccjit xorgrgb libgnt xplr libgrape-lite xray libhandy xsel libice xterm libirecovery xtrans liblouis xxh libmd yaegi libmng yamale libmnl yaml-language-server libmobi yh libnetfilter-queue yj libnetworkit ykdl libnfnetlink youtube-dlc libnghttp2 youtubedr libnsl youtubeuploader libolm yq@3 liboqs yt-dlp libpciaccess yubikey-agent libpinyin z.lua libpipeline zbctl libpqxx@6 zellij libprelude zenith libpthread-stubs zet libraqm zinit librasterlite2 zk librespot zlib-ng librist zoxide librttopo zsh-async libseccomp zsh-fast-syntax-highlighting libserdes zsh-vi-mode libsigrok zsh-you-should-use ==> Updated Formulae Updated 4626 formulae. ==> Renamed Formulae annie -> lux badtouch -> authoscope bro -> zeek elasticsearch@6.8 -> elasticsearch@6 envoy@1.17 -> envoy@1.18 fcct -> butane glibmm@2.64 -> glibmm@2.66 grakn -> typedb gst-validate -> gst-devtools gtk+4 -> gtk4 ht-rust -> xh i386-elf-binutils -> x86_64-elf-binutils i386-elf-gcc -> x86_64-elf-gcc interactive-rebase-tool -> git-interactive-rebase-tool jfrog-cli-go -> jfrog-cli kafkacat -> kcat kde-extra-cmake-modules -> extra-cmake-modules kde-karchive -> karchive kde-kdoctools -> kdoctools kde-ki18n -> ki18n kde-threadweaver -> threadweaver kibana@6.8 -> kibana@6 kubernetes-helm -> helm libsasl2 -> cyrus-sasl linux-headers -> linux-headers@4.4 minizip2 -> minizip-ng mkl-dnn -> onednn mr2 -> zoro now-cli -> vercel-cli pangomm@2.42 -> pangomm@2.46 parallelstl -> onedpl prest -> prestd prestosql -> trino pyqt5 -> pyqt@5 qt5 -> qt@5 rt-audio -> rtaudio selenium-server-standalone -> selenium-server usbmuxd -> libusbmuxd weboob -> woob wxmac -> wxwidgets wxmac@3.0 -> wxwidgets@3.0 ==> Deleted Formulae openssl ✔ kakasi python ✔ kibana@5.6 aap l-smash amap lastfmfpclient ansible@1.9 leafnode ansible@2.0 libagar apache-zeppelin libbind ape liberasurecode apel libinfinity apm-server libmill appledoc libopendkim archivemail libpuzzle arx libvbucket atlassian-cli llvm@4 aurora-cli llvm@6 auto-scaling logentries avian lumo aws-elasticache m2c aws-sns-cli magnetix balance makepp bbcolors marathon-swift biogeme mariadb@10.0 boost-python@1.59 marst boost@1.55 mboxgrep boost@1.57 md boost@1.59 meson-internal boost@1.60 mldonkey borg muttils bubbros mysql-connector-c bzr-fastimport mysql-connector-c++@1.1 camlp4 mysql-utilities cargo-completion mysql@5.5 carina namazu ck neal cless node@8 closure-linter np2 cockroach ocamlsdl colorsvn open-cobol compcert ori confluent-platform osquery contacts pandoc-citeproc cryptopp path-extractor csv-fix pgplot curl-openssl php@7.1 curlish pijul cvs2svn postmark ddar pound deis protobuf-swift deisctl protobuf@3.7 diffuse pygobject djmount pygtk dlite pygtkglext dnsrend pygtksourceview docker-cloud python@2 drip qriollo dshb raine dtrx rawtoaces eject redsocks elasticsearch@2.4 residualvm elasticsearch@5.6 riak erlang@17 rmtrash erlang@19 ruby@2.0 erlang@20 sdhash es sflowtool euca2ools shocco eventlog shorten exomizer soundpipe flasm srclib fmsx srmio fondu sshconfigfs fstar sshrc gconf stlviewer gcore stormpath-cli geant4 svdlibc gf-complete swiftplate ghc@8.2 syncthing-inotify git-hooks terraform-provisioner-ansible git-sh tj giter8 tnote globus-toolkit tomee-jax-rs gmediaserver torrentcheck gnome-builder trr go@1.10 uberftp go@1.11 udns go@1.12 unp64 go@1.9 unrar gobby unravel godep urbit gr-osmosdr vavrdiasm grib-api vim@7.4 hana vte hardlink-osx warp headphones whitedb henplus whohas hg-flow wine highlighting-kate woboq_codebrowser hornetq wpscan httptunnel wu i386-elf-grub xspin ino xtail ipython@5 xu4 iron-functions zdelta jerasure zpython jpcsp ==> Tapping homebrew/cask Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask'... remote: Enumerating objects: 624288, done. remote: Total 624288 (delta 0), reused 0 (delta 0), pack-reused 624288 Receiving objects: 100% (624288/624288), 289.59 MiB | 1.67 MiB/s, done. Resolving deltas: 100% (441613/441613), done. Checking out files: 100% (4022/4022), done. Tapped 3962 casks (4,033 files, 309.6MB). ==> Caveats To use Homebrew in PowerShell, set: Add-Content -Path $PROFILE.CurrentUserAllHosts -Value '$(/usr/local/bin/brew shellenv) | Invoke-Expression' ==> Downloading https://github.com/PowerShell/PowerShell/releases/download/v7.2. ==> Downloading from https://objects.githubusercontent.com/github-production-rel ######################################################################## 100.0% Error: macOS Mojave or newer is required for this software. MacBook-Air:~ Username$