After the volume is erased, you may see an alert that Terminal would like to access files on a removable volume.Terminal shows the progress as the volume is erased. When prompted, type Y to confirm that you want to erase the volume, then press Return.Terminal doesn't show any characters as you type your password.
These assume that the installer is in your Applications folder, and MyVolume is the name of the USB flash drive or other volume you're using.
It installs an app named Install OS X El Capitan into your Applications folder.
Inside the disk image is an installer named InstallMacOSX.pkg.Download using Safari, and open the disk image on a Mac that is compatible with OS X El Capitan.The installer for OS X El Capitan downloads to your Downloads folder as a disk image named InstallMacOSX.dmg. Enterprise administrators: Download from Apple, not a locally hosted software-update server.Download on a Mac that is using macOS Sierra 10.12.5 or later, or OS X El Capitan 10.11.6.Download on a Mac that is compatible with that version of macOS.If the installer opens after downloading, quit it without continuing installation.
The installer for macOS Monterey, macOS Big Sur, macOS Catalina, macOS Mojave, or macOS High Sierra downloads to your Applications folder as an app named Install macOS.