Install, Boot, and Run Mac OS X From an External Hard Drive
https://www.online-tech-tips.com/mac-os-x/install-boot-and-run-mac-os-x-from-an-external-hard-drive/
-----------------------------------------------------------
Install, Boot, and Run Mac OS X From an External Hard Drive
https://www.online-tech-tips.com/mac-os-x/install-boot-and-run-mac-os-x-from-an-external-hard-drive/
-----------------------------------------------------------
https://support.apple.com/en-gb/HT211683
Notes
If you get this error 'This copy of the Install OS X El Capitan application can't be verified. It may have been corrupted or tampered with during downloading' The date maybe wrong.
In terminal type: date 1001010115
-----------------------------------------------------------
Code to make El Capitan bootable USB drive with Terminal
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/el-cap --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction