Skip to content

Commit

Permalink
Reference new path of Homebrew prefix (github#575)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

Co-authored-by: Lana Brindley <[email protected]>
  • Loading branch information
kubeliv and Loquacity authored Nov 2, 2021
1 parent 9e2554b commit 50a9a48
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions timescaledb/how-to-guides/connecting/psql.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/
[windows-installer]: https://www.postgresql.org/download/windows/

0 comments on commit 50a9a48

Please sign in to comment.