Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
macOS setup script for front-end development, installing tools, apps, and customizations via Homebrew.
Formation is a shell script that automates the setup of a macOS laptop for front-end design and development, installing and configuring dozens of tools and applications from the command line. This free, open-source project by Mina Markham lives on GitHub with over 1,700 stars, and its main script, slay, can be run safely multiple times by detecting what is already installed and then installing, upgrading, or skipping packages accordingly.
Formation is a shell script that configures a macOS laptop for front-end development and design by automating the installation of development tools, package managers, CLI utilities, and desktop applications. It is maintained by Mina Markham and is available as a free, open-source GitHub repository. The script runs from the command line, detects the current machine state, and installs, upgrades, or skips each package as needed, using Homebrew and Homebrew Cask under the hood.
~/.hot-sauce file is sourced at the end of the run, allowing you to add your own directories, fonts, symlinks, and other configuration using helper functions like step and link.~/slay.log via tee, so you can review exactly what was executed.~/.hot-sauce file preserves your personal setup preferences.slay script with less slay, then run ./slay 2>&1 | tee ~/slay.log to install everything from Xcode tools to browsers in one go.~/.hot-sauce script to create directories, install fonts, or set up symlinks; the script runs at the end of every Formation execution.slay script to understand what it does../slay with output piped to tee so a log is saved to ~/slay.log.~/.hot-sauce for personal customizations.Yes, Formation is free software. The repository license permits redistribution under the terms specified in the LICENSE file.
Formation installs a curated set of macOS development tools and apps: it sets up Xcode Command Line Tools, Homebrew, package managers like NVM and Rbenv, CLI utilities, and dozens of GUI applications spanning design, development, productivity, and more. It also sources a personal customization script at the end.
Yes. The main list of apps is in the swag file in the repository, which you can edit to your taste. Additionally, any custom commands placed in ~/.hot-sauce will run at the end of the setup.
The project advises against running the script unless you understand what it does. It installs system-level tools and many applications, so you should review the slay script first. A known issue is that Cask may not recognize apps installed outside Homebrew Cask, which could cause the script to fail.
