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