Coder Social home page Coder Social logo

osx_setup's Introduction

Setup a new OS X machine

Set up a new machine

Or just update a current one. These scripts should be idempotent.

Things that happen

  1. Install a bunch of software
  2. Set a bunch of settings
  3. Sync up some dotfiles
  4. Remind you about some manual setup steps

Step 0: Clone this repo

  1. Generate a new ssh key: ssh-keygen -t rsa
  2. Copy it to your clipboard: pbcopy < ~/.ssh/id_rsa.pub
  3. Add it here: github settings
  4. Clone the repo: mkdir ~/workspace git clone [email protected]:racurry/osx_setup.git ~/workspace

Step 1: Run the setup

cd osx_setup
./macos_setup

There are some bits that require human intervention. If you want the system to just make all the decisions for you, run

./macos_setup --unattended

instead.

This adds a command to your path

You can rerun the setup any time with macoscfg.

macOS settings and SIP

Some of the settings in /bin/setup_macos need SIP turned off to actually work. To make sure it all works,

  1. Restart your Mac, holding down Command-R until you see an Apple icon and a progress bar
  2. From the Utilities menu, select Terminal.
  3. csrutil disable
  4. Restart

After running, re-run the steps using csrutil enable

Adding new stuffmacos_setup

Dump it into the relevant file in /data.

References

macOS settings

Cask lists

osx_setup's People

Contributors

racurry 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.