
Set Up Your First VM on an M1 or M2 Mac With VirtualBox We will quickly discuss setting up your first virtual machine in VirtualBox for Mac. You can use Spotlight search, Launchpad, or the Applications folder to launch VirtualBox. Other useful commands are suspend, destroy etc. You have successfully installed VirtualBox on your Apple silicon Mac. Now lets start the machine using the following command. Then we'll initialize the vagrant machine. Now create a test directory and cd into the test directory. We'll use Ubuntu 12.04 for the following example. $ brew cask install vagrant-managerĪdd the Vagrant box you want to use. Vagrant-Manager helps you manage all your virtual machines in one place directly from the menubar. Now install Vagrant either from the website or use homebrew for installing it. You can directly download virtualbox and install or use homebrew for it. Vagrant uses Virtualbox to manage the virtual dependencies. Refer to this article in order to install homebrew-cask. In order to simplify the installation process you should install homebrew-cask which provides a friendly homebrew-style CLI workflow for the administration of Mac applications distributed as binaries. Vagrant is an amazing tool for managing virtual machines via a simple to use command line interface. Create and configure lightweight, reproducible, and portable development environments.
