<p>The command line syntax for install without user input should be:</p>

<p><code>./craft install --interactive=0</code></p>

<p>There's a great article describing just such an automated approach <a href="https://medium.com/@timknight/moving-from-mamp-to-valet-for-craft-cms-3-and-everything-else-587cfee5cf4c" rel="nofollow noreferrer">here</a>.</p>

CC BY-SA 4.0
2018-05-08T16:06:15.340Z
2018-05-09T09:31:08.860Z
2018-05-09T09:31:08.860Z
Piaras Hoban
<p>I am setting up a vagrant development environment and I was wondering if it is possible to somehow pass the installation configuration when running <code>./craft setup</code> command to avoid any user interaction?</p>

<p>Checking the help output of the <code>setup/index</code> says --interactive: boolean, 0 or 1 (whether to run the command interactively.). When executing <code>./craft setup --interactive 0</code> nothing happens. Am I doing something wrong? I tried searching for an explanation and usages of <code>setup</code> parameters but to no avail. </p>

<installation>
Automated Craft 3 installation
# Automated Craft 3 installation

(Asked by: username_0 on 2018-05-08)

I am setting up a vagrant development environment and I was wondering if it is possible to somehow pass the installation configuration when running `./craft setup` command to avoid any user interaction?

Checking the help output of the `setup/index` says --interactive: boolean, 0 or 1 (whether to run the command interactively.). When executing `./craft setup --interactive 0` nothing happens. Am I doing something wrong? I tried searching for an explanation and usages of `setup` parameters but to no avail.

**Tags:** installation


---

## 1 answers

### Answer by username_1 on 2018-05-08. Score: 3 | Accepted answer

The command line syntax for install without user input should be:

`./craft install --interactive=0`

There's a great article describing just such an automated approach [here](https://medium.com/@timknight/moving-from-mamp-to-valet-for-craft-cms-3-and-everything-else-587cfee5cf4c).


---

