Open the Terminal app to move the unarchived distribution to /usr/local like so:.Opening/unarchiving the archive will create a new folder structure in your Downloads folder: (btw, this free Unarchiver app is perfect for all kinds of compressed files and superior to the built-in Archive Utility.app).I picked the tar.gz in Binary Distributions Core section. Download a binary distribution of the core module: apache-tomcat-9.0.40 from here.Here are the easy to follow steps to get it up and running on your Mac In ~/.zshrc, I set the variable like so: export JAVA_HOME=$(/usr/libexec/java_home) Here is a trick that allows me to keep the environment variable current, even after a Java Update was installed. JAVA_HOME is an important environment variable, not just for Tomcat, and it’s important to get it right. I.e., when executing sudo you will be asked to enter your password and your Mac User account needs to be an ‘Admin’ account. Since we are creating directories, outside of your home folder, administrator right are required. Sudo is a program for Unix-like operating systems, allowing you to run programs with the security privileges of another user (normally the superuser, or root).