-
-
Notifications
You must be signed in to change notification settings - Fork 136
1. Installation
- The script must run as root or
sudo
. - macOS 11 is required. If you need to run erase-install.sh on older versions of macOS, use version 27.x.
- The file system must be APFS.
The easiest to maintain method of deploying the script is to install the latest package from the Releases page. The package contains the latest copies of erase-install.sh
, with tested compatible versions of mist
and swiftDialog
bundled into the package.
The erase-install.sh
script can be downloaded directly from GitHub. If run as a standalone script, it will download mist
and swiftDialog
directly from GitHub if required.
You can also run the script directly from GitHub using the following command from Terminal, or with a remote management tool that allows script execution. The sudo
command can be left off if executing from root prompt or through remote management tool that executes commands with root privileges.
curl -s https://raw.githubusercontent.com/grahampugh/erase-install/release/erase-install.sh | sudo zsh /dev/stdin <arguments>
NOTE: If using the legacy version (27.x), you use bash
instead of zsh
, so the following command is required:
curl -s https://raw.githubusercontent.com/grahampugh/erase-install/legacy/erase-install.sh | sudo bash /dev/stdin <arguments>