Strap screenshot

Strap

Author Avatar Theme by Mikemcquaid
Updated: 9 Sep 2024
2257 Stars

Bootstrap your macOS development system.

Overview:

Strap is a script designed to bootstrap a minimal macOS development system, catering to the needs of macOS developers by installing essential software without assuming a specific type of development. This tool aims to address the limitations of Boxen, GitHub’s previous tool, offering a better alternative for setting up a development environment on macOS.

Features:

  • Enables sudo using TouchID
  • Disables Java in Safari for enhanced security
  • Enables macOS screensaver password immediately for improved security
  • Enables macOS application firewall for better security
  • Adds a “Found this computer?” message to the login screen for machine recovery
  • Enables full-disk encryption and saves the FileVault Recovery Key to the Desktop
  • Installs Xcode Command Line Tools for compilers and Unix tools
  • Installs Homebrew, Homebrew Bundle, Homebrew Services, and Homebrew Cask for package management
  • Installs the latest macOS software updates for enhanced security

Installation:

To install Strap, follow these steps:

  1. Open https://strap.mikemcquaid.com/ in your web browser.
  2. To run Strap locally, use the command:
    script/strap
    
  3. To run the web application locally, use the command:
    script/server
    

Summary:

Strap is a valuable script for setting up a minimal macOS development environment efficiently. It enhances security by enabling essential features like full-disk encryption, macOS application firewall, and password protection. By providing a seamless installation process and essential tools like Xcode Command Line Tools and Homebrew, Strap simplifies the setup process for macOS developers while ensuring their systems are secure and up-to-date. Additionally, out of scope features ensure that unnecessary services are not enabled, maintaining a focus on security best practices.