Giter Club home page Giter Club logo

erase-install's Introduction

erase-install

by Graham Pugh

    

Note: The default (main) branch is the latest code commit of the production track, which represents versions 28.0 and newer. Any Pull Requests should be made to the main branch.

The release branch should correspond to the current latest release.

The legacy branch is the latest code commit of the legacy track, which represents versions up to 27.x. The legacy track is for those who need to use this script on macOS 10.15 or older.


WARNING. This is a self-destruct script. Do not try it out on your own device!

erase-install.sh is a script to reinstall macOS directly from the system volume using startosinstall, a resource binary which has been built into macOS installer applications since version 10.12.4. The --eraseinstall option was added with macOS 10.13.4 for computers with an APFS system volume.

It can be used to download, reinstall, upgrade or erase macOS.

The script is designed to interact with mist-cli, a script developed by Nindi Gill, in order to download a macOS Installer application directly from Apple to the client. The minimum required version is macOS 10.15.

It is alternatively possible to use the softwareupdate --fetch-full-installer command on Mac computers running macOS 11 or greater (macOS 11 is required because the --list-full-installers option is used to find valid builds).

The script is also designed to interact with swiftDialog for providing dialogues to users. The minimum required version for swiftDialog is macOS 11.

The script has many options to suit a large variety of workflows, management tools and user experiences. Originally designed to work with Macs that are enrolled into Jamf Pro, it now has additional options for use with other management systems or no management systems at all.

erase-install's People

Contributors

grahampugh avatar cvgs avatar ryangball avatar ahousseini avatar andredb90 avatar bmacphail avatar aschwanb avatar boberito avatar christopherdietrich avatar julienvs avatar phantomphixer avatar sphen13 avatar anewhouse avatar dan-snelson avatar wartz avatar sgmills avatar wegotoeleven avatar darkomen78 avatar tsparr avatar hooleahn avatar joe1981al 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.