Acquia CLI

self:update

Updates Acquia CLI to the latest version.

The self-update command checks GitHub for newer versions of Acquia CLI and if found, installs the latest.

Usage

acli self:update [--stable] [--preview] [--compatible] [--] [<version_constraint>]
acli update
acli self-update

Arguments

  • version_constraint

    Optional

    Apply version constraint

Options

  • --stable

    Optional

    Use stable releases (default)

    Defaults to false

  • --preview

    Optional

    Preview unstable (e.g., alpha, beta, etc.) releases

    Defaults to false

  • --compatible

    Optional

    Stay on current major version

    Defaults to false

  • --help | -h

    Optional

    Display help for the given command. When no command is given display help for the `list` command

    Defaults to false

  • --quiet | -q

    Optional

    Do not output any message

    Defaults to false

  • --verbose | -v|-vv|-vvv

    Optional

    Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

    Defaults to false

  • --version | -V

    Optional

    Display this application version

    Defaults to false

  • --ansi

    Optional

    Force (or disable --no-ansi) ANSI output

  • --no-ansi

    Optional

    Negate the "--ansi" option

    Defaults to false

  • --no-interaction | -n

    Optional

    Do not ask any interactive question

    Defaults to false

Acquia Help

Filter by product:

Common questions