From 50a9a486f4912896f1d2d1a0b24d143f1e5e5f42 Mon Sep 17 00:00:00 2001 From: Logan Gorence Date: Mon, 1 Nov 2021 20:27:03 -0700 Subject: [PATCH] Reference new path of Homebrew prefix (#575) * Reference new path of Homebrew prefix Homebrew on Apple Silicon uses a new path for the prefix /opt/homebrew/bin whereas Intel installations still utilize /usr/local/bin. * Update timescaledb/how-to-guides/connecting/psql.md Co-authored-by: Lana Brindley Co-authored-by: Lana Brindley --- timescaledb/how-to-guides/connecting/psql.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/timescaledb/how-to-guides/connecting/psql.md b/timescaledb/how-to-guides/connecting/psql.md index 3ee8e8b6a980..2ace07c7c9a9 100644 --- a/timescaledb/how-to-guides/connecting/psql.md +++ b/timescaledb/how-to-guides/connecting/psql.md @@ -26,8 +26,9 @@ brew update brew install libpq ``` -Finally, create a symbolic link to `psql` (and other `libpq` tools) into `/usr/local/bin` -so that you can reach it from any command on the macOS Terminal. +Finally, create a symbolic link to `psql` (and other `libpq` tools) into `/usr/local/bin` on +Intel, or `/opt/homebrew/bin` on Apple Silicon chips so that you can reach it from any +command on the macOS Terminal. ```bash brew link --force libpq ail @@ -133,4 +134,4 @@ Congrats! Now you have connected via `psql`. [brew-package-manager]: https://brew.sh/ -[windows-installer]: https://www.postgresql.org/download/windows/ \ No newline at end of file +[windows-installer]: https://www.postgresql.org/download/windows/