All you need to do is run the commands here in OSX terminal - the links are for reference.
Install these with the following few commands:
- Homebrew, a command-line tool for installing apps on OSX
- virtualbox, a free VM runner on OSX
- vagrant, a command line VM runner for virtualbox
This will allow you to spin up a VM with a single command - you wont need to install virtualbox & vagrant again if you need another VM.
Just run this to install the above:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install virtualbox
brew install vagrant
- Create a directory for the kali VM
- Download and spin up the VM using vagrant (from https://app.vagrantup.com/kalilinux/boxes/rolling) (you can search the Vagrant app store for any version of linux or windows you might need)
Just run this to spin up the Kali VM:
cd ~
mkdir -p vagrant/kali
cd vagrant/kali
vagrant init kalilinux/rolling
vagrant up
- Once this finishes it should fire up the VM.
- Login with username & pasword both
vagrant
/vagrant
- Open the VirtualBox app from Applications and you'll see your VM there too - you can stop it from there by right-clicking on it & closing it, then you can give it more resources (CPU/RAM) to make it faster etc.