

This breaks the workflow into smaller pieces, that we will now tackle individually. # copy Firefox application to /Applications # downloads and installs the latest version of Firefox

Then the user needs locate the dmg in the ~/Downloads folder and open it to mount the virtual disk image. To download and install the latest version of Firefox a user has to go to the Firefox website and download the latest version, which will come as a disk image (dmg) file. To further illustrate the progress from the idea of a workflow to a working script, let us look at another, more involved example. Enjoy!įollow this blog or the Twitter account for updates on the book’s progress! Download and Install Firefox

This series is an excerpt from the first chapter of my upcoming book “Scripting macOS” which will teach you to use and create shell scripts on macOS.
