Create a bootable ISO of OS X / macOS, from the installation app file.
The appropriate installation app file(s) must be located in /Applications
i.e.
/Applications/Install macOS Sequoia.app
/Applications/Install macOS Sonoma.app
/Applications/Install macOS Ventura.app
/Applications/Install macOS Monterey.app
/Applications/Install macOS Big Sur.app
/Applications/Install macOS Catalina.app
/Applications/Install macOS Mojave.app
/Applications/Install macOS High Sierra.app
/Applications/Install macOS Sierra.app
/Applications/Install OS X El Capitan.app
/Applications/Install OS X Yosemite.app
/Applications/Install OS X Mavericks.app
Mac users can download theses files from the App Store.
Install with Homebrew
$ brew tap startergo/tap
$ brew install osx-iso
$ osxiso
1) macOS Sequoia 4) macOS Monterey 7) macOS Mojave 9) OS X El Capitan 12) Quit
2) macOS Sonoma 5) macOS Big Sur 8) macOS High Sierra 10) OS X Yosemite
3) macOS Ventura 5) macOS Catalina 9) macOS Sierra 11) OS X Mavericks
Select OS or Quit:
ISC License (ISC)
Copyright © 2015-2021, Buster Collings
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.