“Instal PSQL Mac” Kode Jawaban

Instal PostgreSQL di Mac

brew install postgresql
Xenophobic Xenomorph

Instal PSQL Mac


brew install postgresql
KostasX

Instal Postgres Mac Client

You could use homebrew to install libpq.

brew install libpq

This would give you psql, pg_dump and a whole bunch of other client utilities without installing Postgres.

Unfortunately since it provides some of the same utilities as are included in the full postgresql package, brew installs it "keg-only" which means it isn't in the PATH by default. Homebrew will spit out some information on how to add it to your PATH after installation. In my case it was this:

echo 'export PATH="/usr/local/opt/libpq/bin:$PATH"' >> ~/.zshrc

Alternatively, you can create symlinks for the utilities you need. E.g.:

ln -s /usr/local/Cellar/libpq/10.3/bin/psql /usr/local/bin/psql
Black Bee

Instal PSQL Mac

make sure yu have homebrew installed and updated, then run
$ brew install libpq
$ brew link --force libpq ail
MitchAloha

Jawaban yang mirip dengan “Instal PSQL Mac”

Pertanyaan yang mirip dengan “Instal PSQL Mac”

Lebih banyak jawaban terkait untuk “Instal PSQL Mac” di Sql

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya