0
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【Tips】Vagrant / VirtualBoxをバージョン指定でインストール

0
Posted at

おもむろに以下のコマンドを実行しましょう。
URLは自分がインストールしたいものに置き換えてくださいね。

Vagrantの場合

$ curl -L -O https://releases.hashicorp.com/vagrant/1.9.1/vagrant_1.9.1.dmg 
$ hdiutil mount vagrant_1.9.1.dmg
$ sudo installer -pkg /Volumes/Vagrant/Vagrant.pkg -target /Volumes/Macintosh\ HD
$ hdiutil unmount /Volumes/Vagrant/
$ rm vagrant_1.9.1.dmg

VirtualBoxの場合

$ curl -L -O http://download.virtualbox.org/virtualbox/5.1.10/VirtualBox-5.1.10-112026-OSX.dmg
$ hdiutil mount VirtualBox-5.1.10-112026-OSX.dmg
$ sudo installer -pkg /Volumes/VirtualBox/VirtualBox.pkg -target /Volumes/Macintosh\ HD
$ hdiutil unmount /Volumes/VirtualBox
$ rm VirtualBox-5.1.10-112026-OSX.dmg
0
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?