Installing Acquia Dev Desktop from the command line

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 Installer.app"/Contents/MacOS
    
  3. Run the installer:

    ./installbuilder.sh  --<optional arguments>
    

    For example:

    ./installbuilder.sh --mode unattended --unattendedmodeui minimal
    

Installer arguments

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

Argument Description 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)
minimal
minimalWithDialogs
--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 /Applications/acquia-dev-desktop
--siteDir <siteDir> The site directory /Users/<username>/Sites/acquia-dev-desktop.
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 8082
--mysqlPort <mysqlPort> MySQL database port number 33066
--siteName <siteName> Site name My Lightning website
--help The list of valid arguments for the installer script  
--version Product information for Acquia Dev Desktop  

Contact supportStill need assistance? Contact Acquia Support

Acquia: Think Ahead

53 State Street, 10th Floor
Boston, MA 02109
United States
Phone: 888-922-7842

Map: Google Maps
View other locations