851 B
851 B
layout | title |
---|---|
default | Getting Started |
Installation
Vagrant is packaged as a RubyGem. Note that vagrant is not limited to just ruby-based projects. On the contrary, vagrant does not care what tools or language your project uses, but the vagrant tool itself is written in Ruby and can be installed simply:
{% highlight bash %} $ gem install vagrant {% endhighlight %}
Initialize Your Project
Once you've got vagrant installed, you'll want to initialize it for your project or projects. To do this, go to the root directory of your project, and do the following:
{% highlight bash %} $ vagrant init {% endhighlight %}
This will create an initial Vagrantfile
in that directory, which is used not only
to mark the root directory of your project but also to control every aspect of vagrant.