macOS USB Installer
You can create a bootable USB to install macOS on other Macs with one command, without any third party software. The macOS Installer from the App Store contains a binary,
createinstallmedia that will do it all for you.
sudo /Applications/Install\ macOS\ Big\ Sur.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
See Apple’s support page “How to create a bootable installer for macOS” for full instructions.
Photo by Steve Tsang on Unsplash