This documentation is for WSO2 Private PaaS 4.0.0. View documentation for the latest release.
CLI Tool - WSO2 Private PaaS 4.0.0 - WSO2 Documentation
Skip to end of metadata
Go to start of metadata

The Command Line Interface (CLI) provides functionality for managing Private PaaS via the shell. It includes a set of commands that can be issued in order to carry out various operation in WSO2 Private PaaS. To learn about all the available CLI commands, see CLI Commands.

The CLI tool can be operated in two modes:

Before you can use the command line in either mode, you must configure the CLI tool and log into Stratos Manager. The rest of this page describes how to log in and use the different modes.

Using interaction mode

To run the CLI tool in interactive mode, log in by entering the following command. (If you do not enter the password, the CLI tool will prompt you for it.)  -u <username> -p <password>


For example:  -u   -p admin123

If you have provided any wrong login parameters, the login help will appear.

To get help, enter the following command:

stratos> help

The output will appear as follows:

Interactive mode supports auto complete. Press the Tab key in the CLI tool to list all the available command options.

Using single command line mode

Users can use this mode to execute commands in one line and directly call the required action as follows. If required, users can export their username and password to the environment and execute commands. -u [username] -p [password] [action commands]

For example:  -u  -p admin123 [action]

  • No labels