franciohonda07 wrote:
I get the following error in Terminal "zsh: killed sudo --volume /Volumes/MyVolume".
It appears you did not use the proper command. Please make sure to copy & paste the whole command from the Apple article assuming you named the volume on your USB stick "MyVolume" without any spaces.
Create a bootable installer for macOS - Apple Support
The command is:
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
I double checked the Italian version of that Apple article and the command is correct.
Another possibility is your Zsh profile has been corrupted since that error message is a bit odd even if you entered the wrong command. Third party software can corrupt the zsh profile, but it tends to occur more often when using Homebrew or when people manually try configuring the profile.
Next time, show the actual command used and all of the output from it. It may be even better to post a screenshot of the Terminal window as well.