【发布时间】:2016-05-02 20:40:04
【问题描述】:
我正在尝试在我的笔记本电脑上安装,同时在 Windows 8 上运行。我已经下载并安装了 vagrant 和 Virtualbox,目前正在尝试使用
vagrant init tsawler/wafs; vagrant up --provider virtualbox
我得到了这个错误,
C:\Users\patrick\Documents\website>vagrant init tsawler/wafs; vagrant up --provider virtualbox
An invalid option was specified. The help for this command is available below.
Usage: vagrant init [options] [name [url]]
Options:
-f, --force Overwrite existing Vagrantfile
-m, --minimal Create minimal Vagrantfile (no help comment
s)
--output FILE Output path for the box. '-' for stdout
-h, --help Print this help
我尝试在初始化后添加-f 或--force 选项,但仍然得到相同的结果。有没有缺少的设置?
【问题讨论】:
-
你能单独试试这些命令吗?
C:\Users\patrick\Documents\website>vagrant init tsawler/wafs C:\Users\patrick\Documents\website>vagrant up -
非常感谢 vipinagg,这解决了我的问题,它安装完美
标签: windows command-line vagrant vagrant-windows