If you are interested in evaluating the new Visual Studio for Mac (Preview) from Microsoft, the easiest way to install Visual Studio on your Mac is to simply open up a terminal window and execute the following command:
$ curl -s https://git.io/mikaelleven-vsformacprev | sh
This will download the disk image, execute the installer and remove the disk image when the installation has finished.
If you want to preview the script before executing it (which I strongly encourage) navigate to the url https://git.io/mikaelleven-vsformacprev or choose to Read more below.
The full script content (with comments):
#!/bin/bash # Create and open a temporary folder mkdir -p ~/.gmmr/temp cd ~/.gmmr/temp # Download Visual Studio for Mac preview from Microsoft curl -L -o ~/.gmmr/temp/VisualStudioforMacPreviewInstaller.dmg "https://aka.ms/vs/mac/preview1/y2odn5" # Mount the downloaded disk image hdiutil mount -nobrowse ~/.gmmr/temp/VisualStudioforMacPreviewInstaller.dmg # Execute the VS for Mac installer (and wait for it to finish) open --wait-apps "/Volumes/Visual Studio for Mac Preview Installer/Install Visual Studio for Mac Preview.app" # Unmount the VS for Mac disk image hdiutil unmount "/Volumes/Visual Studio for Mac Preview Installer" # Remove the temporary disk image rm ~/.gmmr/temp/VisualStudioforMacPreviewInstaller.dmg