Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

postgres install mac

$ brew install postgresql
Comment

install psql mac


brew install postgresql
Comment

install 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
Comment

install psql mac

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

PREVIOUS NEXT
Code Example
Shell :: Using git reset to Undo a Merge 
Shell :: install nix macos 
Shell :: linux change file name 
Shell :: install zotero with command line 
Shell :: gitattributes 
Shell :: install msf in termux 
Shell :: kubectl get namespaces command 
Shell :: how to ssh in termux 
Shell :: git move head to specific branch 
Shell :: gitbash update 
Shell :: git revert back to specific commit 
Shell :: enable ssh linux 
Shell :: create gitignore files 
Shell :: magento installer 
Shell :: install mpfr ubuntu 
Shell :: right click touchpad ubuntu budgie 
Shell :: git clone repository 
Shell :: uninstall people app windows 10 
Shell :: clear log file space linux 
Shell :: echo venv/ .gitignore 
Shell :: git pull a new branch froma remote repo 
Shell :: ubuntu vs kali linux 
Shell :: curl hide output 
Shell :: bash echo 
Shell :: jupyter digits 
Shell :: how to add color in shell script 
Shell :: * daemon not running; starting now at tcp:5037 
Shell :: bash switch 
Shell :: how t oadd ssl to a subdomain in nginx 
Shell :: how to install phpmyadmin with nginx on ubuntu 20.04 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =