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.


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.