How to make your Mac ready for MCS-178
I’m going to assume you don’t have macport installed. If you do, skip this installation and talk to me personally.
Homebrew
First, you must have homebrew installed, so type
$ brew --versionand read its output. If already installed, you might want to do
$ brew update && brew upgrade && brew cleanupIf not yet installed, go to https://brew.sh to get the instruction to install homebrew from there. Homebrew is a package manager. You can read its blurb page at https://brew.sh/
Java JDK
Next, make sure you have Java installed. To do this, type
$ java -versionIf it says Java version something then you can skip ahead to the next section on gradle. If it says you don’t have Java installed then continue with Java installation by typing
$ brew install --cask temurinKotlin
Once you have Java installed, you can install the command-line Kotlin tools next. Simply type
$ brew install kotlinand you are done.
gradle
Next, you have to install gradle. To check whether your machine already has gradle installed or not, type
$ gradle -vIf gradle is already installed, you’ll be told the gradle version, build time, revision, and other related information.
If gradle is not installed, you’ll be told that the gradle command cannot be found.
To install gradle, simply type
$ brew install gradleand you’ll be good to go.
Text editor
Last but not least is a text editor. If you already have a favorite, continue using it. You will be most productive that way. If you don’t have a favorite yet, investigate Sublime Text and atom. If you are brave in addition to being not yet married to a text editor, investigate emacs and vim.