DEV Community


Posted on • Updated on


Vagrant commands

Vagrant commands which often use

1/ Initialization
vagrant init

2/ Start&Stop
vagrant up
vagrant halt

3/ Remove vm
vagrant box list (you can see the NAME of envs)
vagrant box remove NAME

4/ Remove whole config file
vagrant global-status (to list env ids)
vagrant destroy [name|id]

5/ Export VM box
vagrant package

6/ Open VM box
vagrant init
vagrant up

Top comments (0)

50 CLI Tools You Can't Live Without

The top 50 must-have CLI tools, including some scripts to help you automate the installation and updating of these tools on various systems/distros.