Setting up my mac for hobby projects

Irfan Ali Shaik
2 min readFeb 19, 2022

Its been quite few years, almost 6 years I have started using my macbook pro.

Lately it has been complaining about space issue in order to upgrade the operating system. It is a 128gb one. So I decided to give it a fresh start.

Took backup of the important files in icloud drive and then did a full cleanup.

Post clean up upgraded to latest OS montery 12.2.1

Once it was up and running, I was thinking what all things I need and use in general and made a list.

# Install Home brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

#Install Iterm 2
brew install --cask iterm2

# Install Sublime text
brew install --cask sublime-text

Now we have our package manager, better terminal and a text editor

# Install sdkman
curl -s "https://get.sdkman.io" | bash

# Install Java
sdk list java
sdk install java 17.0.2.8.1-amzn

#Install Python
brew install python@3.10

#Install Node
brew install node@16

We have now installed some programming languages which mostly work with. Let’s install some other tools we need.

# Install Git
brew install git

# Install gradle and maven
brew install gradle
brew install maven

# Install Intelli J & visual studio code
brew install --cask visual-studio-code
brew install --cask intellij-idea-ce ( community edition)
brew install --cask intellij-idea (if you use ultimate edition)
brew install --cask jetbrains-toolbox
# Install postman
brew install --cask postman

# Install Firefox
brew install --cask firefox

# Install aws-cli & terraform
brew install terraform
brew install awscli

# Install Heroku-cli
brew tap heroku/brew && brew install heroku

Last but not least , need some music music and then we have spotify.

brew install --cask spotify

Update you global git config

touch ~/.gitconfig

vim ~/.gitconfig

[user]
name = Full name
email = Email Id
[github]
user = userId

Update Z shell config

vim .zshrc

if type brew &>/dev/null
then
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"

autoload -Uz compinit
compinit
fi

export PATH="/usr/local/opt/node@16/bin:$PATH"

#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"

And to run containers in the mac , check my other post on containters .

I have installed docker desktop as its for personal usage.

You can customize iterm2 terminal as mentioned in the post .

Fell free to comment on the other good tools you use

Happy Learning.

--

--