“Instale o PostGresql no Mac” Respostas de código

Como abrir o PostGresql no Mac

brew services start postgresqlpsql postgres
Helpful Hamster

Instale o PostGresql no Mac

brew install postgresql
Xenophobic Xenomorph

Como abrir o PostGresql no Mac

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Thoughtless Tarantula

Instale o PSQL Mac


brew install postgresql
KostasX

Instale o cliente Mac Postgres

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

Instale o PSQL Mac

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

Respostas semelhantes a “Instale o PostGresql no Mac”

Perguntas semelhantes a “Instale o PostGresql no Mac”

Mais respostas relacionadas para “Instale o PostGresql no Mac” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código