Installing Acquia Dev Desktop from the command line


End of Support notice! Acquia has stopped support for Dev Desktop on June 30, 2021. Acquia recommends that you transition to Acquia Cloud IDE for a managed development environment on Cloud Platform. For more information, see Migrating from Dev Desktop to Cloud IDE.

Acquia also provides limited integration with open source alternatives to Cloud IDE for local development. For more information, see Local development solutions.

The primary way to install Acquia Dev Desktop is to use the prompted installer, as described in Installing Acquia Dev Desktop. As an alternative, you can install Acquia Dev Desktop from a command line on Windows or macOS. To use the command line installer, download Acquia Dev Desktop from the Acquia Downloads page, and then follow the instructions for your operating system.

Installing from the command line on Windows

  1. Change directories to the directory where you saved the downloaded Acquia Dev Desktop installer:

    cd \Downloads
  2. Run the installer:

    AcquiaDevDesktop***.exe  --<optional arguments>

    For example:

    AcquiaDevDesktop***.exe --mode unattended --unattendedmodeui minimal

Installing from the command line on macOS

  1. Mount the installation .dmg with a command like:

    hdiutil attach /path/to/acquia dev desktop.dmg
  2. Change directories to the Acquia Dev Desktop installer:

    cd /Volumes/"Acquia Dev Desktop Installer"
    cd "Acquia Dev Desktop"/Contents/MacOS
  3. Run the installer:

    ./  --<optional arguments>

    For example:

    ./ --mode unattended --unattendedmodeui minimal

Installer arguments

The installer script takes the following arguments on either Windows or macOS:



Allowed and default values

--mode <mode>

Installation mode

osx (default): Use the macOS interface (macOS only)
text: Use text prompts on the command line unattended: Use mode specified with the --unattendedmodeui argument, with input from a text file specified with the --optionfile argument

--unattendedmodeui <mode>

UI to use in unattended installation mode

none (default)

--optionfile <optionfile>

The path to a text file that includes installation options

--admUsername <admin username>

Username for the admin account

--admPass <admin password>

Password for the admin account

--admEmail <admin email>

Email address for the admin account

--debuglevel <debuglevel>

Debug information level of verbosity

0 1 2 (default) 3 4

--debugtrace <debugtrace>

The path of a file that the installer should write debug information to

--installer-language <language code>

Language to run installer in

en (default) ar bg ca da nl et fr fi de el es es_AR he hr hu it ja ko pl pt_BR pt ro ru no sl sk sq sv tr zh_TW zh_CN va cy cs

--licenseagree <licenseagree>

Agreement to the license

1 (default)

--installDir <installDir>

The directory to install Dev Desktop in


--siteDir <siteDir>

The site directory

A tilde (~) within quotes is not expanded by the installer to its value. Therefore, if the path is ~/sites/example, use either --siteDir ~/sites/example or --siteDir "$HOME/sites/example".

--apachePort <apachePort>

Apache web server port number


--mysqlPort <mysqlPort>

MySQL database port number


--siteName <siteName>

Site name

My Lightning website


The list of valid arguments for the installer script


Product information for Acquia Dev Desktop