#1.Homebrew
1. インストール。
コマンド
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
2. Password:
と出たらmacのパスワード入力。
3. Press RETURN to continue or any other key to abort
と出たら Enter
4. 確認。
確認コマンド
brew -v
▶︎ 完了
Homebrew 3.2.10
Homebrew/homebrew-core (git revision 26570f077b; last commit 2021-09-04)出ました。
パスが通ってないよ
内容
Warning: /opt/homebrew/bin is not in your PATH.
解決
export PATH="$PATH:/opt/homebrew/bin"
#2 . postgreSQL
1. インストール。
コマンド
brew install postgresql
2. 確認。
確認コマンド
psql --version
▶︎ 完了
psql (PostgreSQL) 13.4
キーチェーンログインパスワードって
デフォルトだと、キーチェーンのパスワードはコンピュータのログインパスワードと同じ。
3 . pgadomin
1. インストール。
コマンド
brew install pgadmin4
2. 確認。
確認コマンド
psql --version