This is an Alfred Workflow (Alfred 3 & Alfred 4) which is used to manage all of your Parallels VMs (virtual machines). The options available are:
- Start
- Stop
- Restart
- Suspend
- Pause
- Resume
Note: You must have jq installed in /usr/local/bin for this to workflow to run. jq is a command-line JSON processor. For more information visit the jq website.
As mention above, this worflow requires jq to be installed in /usr/local/bin. The easiest way to do this is using homebrew, which is a package manager for MacOS.
- Ensure homebrew is installed - to do this, follow the instructions on the homebrew website
- Now that you have homebrew installed, launch terminal and run the following command
brew install jq - Wait for jq to install
- To validate it was installed in the correct location run
ls /usr/local/bin | grep jq. If the wordsjqare returned then you know it has been installed. If not, jq is not installed in/usr/local/bin - It is very important you have
jqinstalled before proceeding.
Next is the super easy part, installing the Parallels Manager workflow in Alfred.
- First you actually need Alfred installed. If you don't have this head over to the Alfred website.
- Clone or downlod this repo. Alternatively right click this this link and select Save as.
- Double click the
Parallels Manager.alfredworkflowfile - This will automatically install the workflow in Alfred
To use Alfred Parallels Manager do the following:
- Launch Alfred via your selected keyboard shortcut (mine is ⌘ + ␣)
- Type the
xpvmkeyword and select Parallels Manager from the list - Parallels Manager will now retrieve a list of your VMs (this might take a while, especially if Parallels is not yet running)
- Select a VM to manage and press
Enter - Select an action to complete on the VM and press
Enter - Enjoy
If you would like to make your own version all of the source code is available in the src directory.
This workflow has been tested successfully on Alfred 3 and Alfred 4.
