Giter VIP home page Giter VIP logo

mac-bootstrap's Introduction

Mac Bootstrap shellcheck MIT

Your laptop is your sword. Don't go into battle without it.

dotfiles screenshot

Forked & Inspired by from joshukraine's mac-bootstrap

Bootstrap is a script to provision a new machine running a fresh install of (macOS Big Sur).

It can be run multiple times on the same machine safely. It installs, upgrades, or skips packages based on what is already installed on the machine.

The bootstrap script is very specific to the Mac platform. Version 1.x has been successfully tested on the following versions of macOS:

  • Big Sur (11.0)
  • Catalina (10.15)

Older versions may work but are not tested regularly. Bug reports into a new GitHub Issue for older versions are welcome.

Install

Download the script:

curl -fsSO https://raw.githubusercontent.com/deild/mac-bootstrap/main/bootstrap

Review the script (avoid running scripts you haven't read!):

less bootstrap

Execute the downloaded script:

zsh bootstrap 2>&1 | tee ~/.bootstrap.log

Optionally, review the log:

less ~/.bootstrap.log

Or to install with a one-liner, run this:

curl -fsS https://raw.githubusercontent.com/deild/mac-bootstrap/main/bootstrap | zsh -s -- 2>&1 | tee ~/.bootstrap.log

Debugging

Your last bootstrap run will be saved to ~/.bootstrap.log. Read through it to see if you can debug the issue yourself. If not, copy the lines where the script failed into a new GitHub Issue for us. Or, attach the whole log file as an attachment.

What it sets up

When you invoke bootstrap, here's what it does:

  1. Set the timezone to Europe/Paris
  2. Set computer name to Higuma
  3. Ensure Apple's command line tools are installed, and install it if not
  4. Disable or enable Gatekeeper control
  5. Install or update Homebrew
  6. Install or upgrade formula dependencies
  7. Install or upgrade cask
  8. Install or upgrade and then reload dotfiles
  9. Check which Ruby and Gem installs we are using at this point
  10. Generate ed25519 and RSA key
  11. Prefer tools installed by Homebrew according to the PATH environment variable
  12. Disable Homebrew analytics
  13. Set macOS preferences

mac-bootstrap's People

Contributors

deild avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.