This method is similar to the first method mentioned in the Direct URL to box file section, where you can use a URL or file path to download and install a box file directly.
Here is an example of the command: vagrant box add https://app.vagrantup.com/ubuntu/boxes/trusty64.
This command will install the 64-bit Trusty version of Ubuntu. You do not need to use the --name flag for this method as Vagrant will get this information from the box metadata and box information files.