Comments (11)
What's the output of psql --version
? I'm guessing it's not 16.x, since postgresql@16
is keg-only.
Also check the output of ls -l /usr/local/bin/psql
.
from brew.
from brew.
from brew.
That's not Homebrew's psql
, and I should've noticed earlier that you're running on an ARM64 Mac, for which Homebrew installs exclusively under /opt/homebrew
.
You're looking for /opt/homebrew/opt/postgresql@16/bin/psql
instead.
from brew.
from brew.
Yeah, that's the psql
you want to run.
from brew.
How can I run that one ?
from brew.
Just like that: /opt/homebrew/opt/postgresql@16/bin/psql
.
from brew.
Now I got database not found, how can I create/edit database if I can't run postgres ?
from brew.
You're asking us how to use PostgreSQL at this point which is not an issue with Homebrew.
from brew.
I solved this
I just do this rm -rf /usr/local/bin/psql
And remove all postgres that were installed by homebrew
Then install postgres app from https://postgresapp.com/downloads.html
Now my psql
commpand works
from brew.
Related Issues (20)
- Add `test` tag support for `resource`s HOT 1
- docs.brew.sh/Manpage does not wrap text properly on mobile HOT 3
- `brew migrate` doesn't recognise migrations to API taps HOT 3
- Verbose option stopped working (`-v` shows version, `--verbose` unknown command) HOT 3
- Allow casks to opt-in to forcibly quit during `brew upgrade` HOT 9
- Imposible update using WIFI HOT 3
- don't write .keepme in `bin` and `sbin` if it isn't needed HOT 1
- brew update --greedy: Parameter 'message': Expected type String, got type OptionParser::InvalidOption with value #<OptionParser::InvalidOption: --greedy> HOT 1
- `HOMEBREW_GITHUB_API_TOKEN` doesn't apply for call to `https://api.github.com/repos/org/name/releases/latest` HOT 2
- Homebrew formula has linkage issue on Apple silicon setup for python application with selenium as dependency HOT 5
- Support user set BUNDLE_USER_CACHE HOT 14
- Consider getting superenv from `/etc/profile` and `/etc/environment` HOT 5
- SBOMs break bottle reproducibility HOT 14
- Improve caveats handling for API installs HOT 8
- Migration to other tap broken HOT 9
- Replace PAT usage with GitHub App Tokens HOT 1
- Use `main` for Homebrew branches HOT 3
- Use Sorbet `typed: strict` in all (non-package) files in Homebrew organisation
- Attestation failure message emits secret HOT 1
- Spurious linkage errors to GCC on Linux HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brew.