drive-flasher is a cli to flash an OS onto a removable drive. It is designed to be simple to use on your mac.
You may need to use
sudoto install the package globally. This CLI will only work on macOS.
$ npm i -g drive-flasherAfter installing the cli, you are ready to use it.
The cli has only been tested on macOS Catalina with an Ubuntu ISO image.
-
Insert your drive
-
If the following alert pops up just after inserting the drive, press on "Initialize..." :

-
Run the following command in the Terminal (
sudois needed to do the flashing):Note that it will also wipe everything on the drive.
$ sudo drive-flasher
-
Respond to the questions asked...
-
Let it do its work, go get a cup of coffee!
-
This alert will pop up when the flashing is done. Press on "Ignore" :

-
Remove the drive and use it!
- Vu Dang Khoa Chiem - Doudou8
This project is licensed under the MIT License - see the LICENSE file for details
MIT © Doudou8