PostgreSQL Installation
MacOS
brew install postgresql@14
brew services start postgresql@14Check if the postgresql service is up and running
brew services info postgresql@14Linux (Ubuntu on WSL)
sudo apt install postgresql postgresql-contrib
sudo /etc/init.d/postgresql start
sudo -u postgres createuser -s YOUR_USERNAMECheck if the postgresql service is up and running
/etc/init.d/postgresql statusLast updated
Was this helpful?