Menu

Post image 1
Post image 2
1 / 2
0

1. Quick Guide to Setting Up PostgreSQL on Mac via CLI with Homebrew

DEV Community·Lorena Dávila Ermus·18 days ago
#nKrvmYXD
Reading 0:00
15s threshold

Hey, I'm excited to do a series of short articles to set up Free AI tools such as n8n and Ollama on your local machine, or to setup the environment for your personal projects. One of the first issues you may encounter is that you may not have postgres running on local. To solve that with the minimal setup follow these exact steps. Step 1: Install and Start the Service Open your Mac Terminal and run these commands to install Postgres and keep it running in the background brew install postgresql # Installs the latest version brew services start postgresql # Keeps it running in the background (Optional) You can check if it is running or stop it later using these commands: brew services list brew services stop postgresql Step 2: Connect for the First Time Homebrew automatically creates a default superuser matching your Mac username with a blank password. You do not need a password yet.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More