1

I am trying to install in on my laptop while running on Windows 8. I have downloaded and installed vagrant and Virtualbox and currently am trying to download vagrant box using

vagrant init tsawler/wafs; vagrant up --provider virtualbox

and i get this error,

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

I have tried to add the -f or --force option after the init but still get the same result. Is there a setting that missing?

kenorb
  • 155,785
  • 88
  • 678
  • 743
Kanjah
  • 59
  • 10
  • Can you try these commands separately ? `C:\Users\patrick\Documents\website>vagrant init tsawler/wafs C:\Users\patrick\Documents\website>vagrant up` – greenhorn Jan 27 '16 at 00:01
  • thanks alot vipinagg, this solved my problem, it installed perfectly – Kanjah Jan 27 '16 at 08:40

2 Answers2

3

Sometimes, multiple commands on the same line may not get parsed correctly, and running them separately usually works. Try these.

C:\Users\patrick\Documents\website>vagrant init tsawler/wafs C:\Users\patrick\Documents\website>vagrant up

greenhorn
  • 1,097
  • 6
  • 10
0

Run command prompt with Administrative privileges.

Coder
  • 1