I'm following the official Apple guide to create a bootable installer for macOS Mojave:

* [How to create a bootable installer for macOS](https://support.apple.com/HT201372)

when I execute the command:

```
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume

```

I receive the error:

```
command not found

```

[![enter image description here](https://i.stack.imgur.com/EjKaQ.png)](https://i.stack.imgur.com/EjKaQ.png)

I followed all similar posts like this:

* [createinstallmedia: command not found](https://apple.stackexchange.com/questions/182662/createinstallmedia-command-not-found)

but I cannot find a solution.