기타/개발환경 세팅

베어그런트 설치하기

Jong_seoung 2023. 11. 30. 15:56
반응형

베어그런트 설치하기

베어그런트는 사용자의 요구에 맞게 시스템 자원을 할당, 배치, 배포해 두었다가 필요할 때 시스템을 사용할 수 있는 상태로 만들어 준다. 이를 프로비저닝이라고 한다.

 

Vagrant의 경우 Homebrew로 설치할 경우 삭제가 간편하지만 홈페이지에서 설치를 할 경우 삭제가 다소 복잡해지기 때문에 Homebrew로 진행하였다.

 

Homebrew를 이용하여 Vagrant 설치

brew install vagrant

중간에 사용자 암호만 한번 입력해주면 설치 완료된다.

➜  ~ brew install vagrant
Running `brew update --auto-update`...
==> homebrew/core is old and unneeded, untapping to save space...
Untapping homebrew/core...
Untapped 3 commands and 6834 formulae (7,212 files, 679.2MB).
==> Auto-updated Homebrew!
Updated 3 taps (homebrew/services, homebrew/core and homebrew/cask).
==> New Formulae

##
생략
##

You have 14 outdated formulae installed.

==> Downloading https://releases.hashicorp.com/vagrant/2.4.0/vagrant_2.4.0_darwi
######################################################################### 100.0%
==> Installing Cask vagrant
==> Running installer for vagrant with sudo; the password may be necessary.
Password:
installer: Package name is Vagrant
installer: Installing at base path /
installer: The install was successful.
🍺  vagrant was successfully installed!

 

제대로 설치되었다면 버전과 경로가 표시될 것이다.

vagrant --version
which vagrant

 

버전 및 경로 확인

 

Homebrew를 이용하여 Vagrant 삭제

brew uninstall vagrant

 

반응형