![]() Homebrew takes care of resolving Postgres’ dependencies, which in this case are OpenSSL and Readline. You should then see the following output: Run the following command to install PostgreSQL using Homebrew: brew install postgresql Now that we have Homebrew, installing PostgreSQL is very easy. Now that we have Homebrew, we can proceed to install Postgres! 2. You should see output similar to the following: This one downloads the script at the given URL, and then the Ruby interpreter executes it. ![]() The rest of this command (the curl command) is a tool to make web requests from your command line. Let’s start by copying and pasting the following command into our command line: /usr/bin/ruby -e "$(curl -fsSL )"ĭon’t worry about what all that does-as long as you’re using MacOSX 10.7 or higher, the Ruby interpreter comes pre-installed. If you already have Homebrew installed, you can skip to Installing PostgreSQL. To install PostgreSQL on the command line we will be using a package manager called Homebrew. For this tutorial, let’s see how to install on the command line. You can pick whichever option is right for you.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |