Mac Setup
Step-by-step instructions to setup new Mac
Which CLI tools are essential for a new Mac?
-
Xcode Command Line Tools
xcode-select –-installit comes withclang,gcc,clang++,g++,gitand more …List of Xcode Command Line Tools
1
ls /Library/Developer/CommandLineTools/usr/bin/ -
Homebrew is a free and open-source software package management system that simplifies the installation of software on Apple’s operating system, macOS, as well as Linux. official Homebrew site
-
Git Already comes with Xcode CLT
-
Gen CLI (My own CLI tool)
pip install gen-cli -
opencode is an open source agent that helps you write code in your terminal, IDE, or desktop.
-
tmux (short for Terminal Multiplexer) is a command-line tool that lets you manage multiple terminal sessions within a single window.
brew install tmux
What software and applications should I install?
- Zen Browser is a free, open-source web browser based on Mozilla Firefox. It combines Firefox’s privacy and plugin ecosystem with the sleek, modern, vertical-tab interface popularized by the Arc browser.
- OBS Free and open source software for video recording and live streaming.
- Zed is a Rust based code editor.
- Windsurf is a free and open-source code editor. (for unlimited inline autocomplete)
- Discord is a free voice and text communication application and digital distribution platform.
- Spotify is a popular digital audio streaming service for music listening.
- Obsidian stores notes privately on your device as markdown files.
- Battery Toolkit Control the platform power state of your Apple Silicon Mac. Battery Toolkit allows specifying a hard limit past which battery charging will be turned off.
- MacDroid the ultimate solution for transferring files between Android and Mac.
- Rectangle Move and resize windows in macOS using keyboard shortcuts or snap areas.
- Mos is a free, open-source macOS utility that makes wheel scrolling feel closer to a trackpad, without getting in your way.
- BetterDisplay is a macOS utility that allows you to customize your display settings. (external display)
- Stas is a free, open-source macOS system monitor that lives in your menu bar - track CPU, GPU, RAM, disk, network, sensors, battery and more on Apple Silicon and Intel Macs.
- Lidless tiny macOS menu-bar app that keeps your Mac running even with the lid closed — so coding agents (Claude Code, Codex, etc.) keep working while you move around.
How do I install core programming languages?
- Python
brew install python - Ruby
brew install ruby - C Already comes With Xcode CLT i.e
gccandclang - C++ Already comes With Xcode CLT i.e
g++andclang++
or (3, 4)
- llvm
brew install llvmclang and clang++ compiler (Recommended)
Which Python libraries are required for machine learning and data science?
- Numpy the fundamental package for scientific computing with Python.
pip install numpy - Pandas is a fast, powerful, flexible and easy to use open source data analysis and manipulation tool,
built on top of the Python programming language.
pip install pandas - Scikit-learn is an open source machine learning library that supports supervised and unsupervised learning. It also provides various tools for model fitting, data preprocessing, model selection, model evaluation, and many other utilities.
pip install scikit-learn - Seaborn is a Python data visualization library based on matplotlib. It provides a high-level interface for drawing attractive and informative statistical graphics.
pip install seaborn - Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python.
pip install matplotlib - Pytorch is an open-source optimized tensor library for deep learning using GPUs and CPUs Deep learning library
pip install torch - Tensorflow is an open-source, end-to-end machine learning platform developed by Google, specializing in deep neural networks, numerical computation, and large-scale machine learning.
pip install tensorflow - Scipy is a collection of mathematical algorithms and convenience functions built on NumPy . It adds significant power to Python.
pip install scipy - Jupyter Notebook is the latest web-based interactive development environment for notebooks, code, and data. Its flexible interface allows users to configure and arrange workflows in data science, scientific computing, computational journalism, and machine learning. A modular design invites extensions to expand and enrich functionality.
pip install notebook - OpenCV is a library of programming functions mainly for real-time computer vision
pip install opencv-python