A command line interface for WordPress

Commands » cli » alias

wp cli alias - List available WP-CLI aliases.

Quick links: Github issues

Aliases are shorthand references to WordPress installs. For instance, @dev could refer to a development install and @prod could refer to a production install. This command gives you visibility in what registered aliases you have available.


Render output in a particular format. -– default: yaml options: - yaml - json -–


# List all available aliases.
$ wp cli alias
@all: Run command against every registered alias.
  ssh: [email protected]~/webapps/production
  ssh: [email protected]/srv/www/runcommand.dev
  - @prod
  - @dev