--- page_title: "Basic Usage - Providers" sidebar_current: "providers-basic-usage" --- # Basic Provider Usage ## Boxes Boxes are all provider-specific. A box for VirtualBox is incompatible with the VMware Fusion provider, or any other provider. A box must be installed for each provider, and can share the same name as other boxes as long as the providers differ. So you can have both a VirtualBox and VMware Fusion "precise64" box. Installing boxes hasn't changed at all: ``` $ vagrant box add \ precise64 http://files.vagrantup.com/precise64.box ``` Vagrant now automatically detects what provider a box is for. This is visible when listing boxes. Vagrant puts the provider in parentheses next to the name, as can be seen below. ``` $ vagrant box list precise64 (virtualbox) precise64 (vmware_fusion) ``` ## Vagrant Up Once a provider is installed, you can use it by calling `vagrant up` with the `--provider` flag. This will force Vagrant to use that specific provider. No other configuration is necessary! In normal day-to-day usage, the `--provider` flag isn't necessary since Vagrant can usually pick the right provider for you. More details on how it does this is below. ``` $ vagrant up --provider=vmware_fusion ``` If you specified a `--provider` flag, you only need to do this for the `up` command. Once a machine is up and running, Vagrant is able to see what provider is backing a running machine, so commands such as `destroy`, `suspend`, etc. do not need to be told what provider to use.
Vagrant currently restricts you to bringing up one provider per machine. If you have a multi-machine environment, you can bring up one machine backed by VirtualBox and another backed by VMware Fusion, for example, but you can't back the same machine with both VirtualBox and VMware Fusion.
This is a limitation that will be removed in a future version of Vagrant.