我已经尝试过从apt repo和gem安装vagrant,但这是我尝试运行vagrant plugin install时得到的输出(显然在输出中没有插件命令):
Usage: vagrant [-v] [-h] command [<args>]
-v, --version Print the version and exit.
-h, --help Print this help.
Available subcommands:
box
destroy
gem
halt
init
package
provision
reload
resume
ssh
ssh-config
status
suspend
up我尝试过从apt和Rubygems安装vagrant,但在这两种情况下我都没有得到任何插件命令。我正在运行Ubuntu 12.04 LTS。
发布于 2013-05-20 22:03:55
从源安装Vagrant。
github存储库在这里:https://github.com/mitchellh/vagrant
这些说明应该允许您构建和安装最先进的版本:https://github.com/mitchellh/vagrant/wiki/Installing-Vagrant-from-source
如果你想要最新的稳定版本,那么一旦你按照上面的链接克隆了存储库,你就应该用git checkout v1.2.2签出1.2.2标签,然后构建它。
https://stackoverflow.com/questions/16623508
复制相似问题