Homebrew install specific version $ brew install [email protected] Check if port 5432 is being used $ lsof -i :5432 # Kill the port. $ kill -9 <pid>