Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Homebrew

Homebrew offers several alternatives alternative methods of installation.  The most relevant are the instructions labeled "Untar Anywhere" found on the official documentation page.  Here's is a complete script for installing and running homebrew inside your user's home directory where you don't need EP. 

...

Java

With homebrew installed, you can install Java with just a couple commands.

Code Block
languagebash
titleInstall Java
collapsetrue
# use homebrew to install Java
brew install java

# add Java to your PATH environmental variable, so your terminal knows where to find Java
echo 'export PATH="/Users/username/homebrew/opt/openjdk/bin:$PATH"' >> ~/.zshrc # if you are using zsh
echo 'export PATH="/Users/username/homebrew/opt/openjdk/bin:$PATH"' >> ~/.zshrc # if you are using bash

# you can test that it works with the following
java --version

PostgreSQL

You With homebrew installed, you can install and run PostgreSQL without EP using homebrew.  You can read the documentation on that approach here: https://wiki.postgresql.org/wiki/Homebrew.  The code for that is below

...