Once you are sure that everything is correctly installed on your machine, you have to follow these steps to install Apache Spark Step 1: Install scala brew install Keep in mind you have to change the version if you want to install a different one Step 2: Install Spark brew install apache-spark Step 3: Add environment variablesĪdd the following environment variables to your. If not, run the following commands on your terminal. This short guide will assume that you already have already homebrew, xcode-select and java installed on your macOS. Apr 21, '20 2 min read Apache Spark, Big data, Hadoop, macOS Install Apache Spark on macOS