Installation
To install the AMPLIFY CLI, run the following from the terminal:
npm i -g @axway /amplify-cli |
Some Linux and macOS systems require elevated filesystem access to install
the AMPLIFY CLI in the global location and require npm
to be run as sudo:
sudo npm i -g @axway /amplify-cli |
Getting help
The AMPLIFY CLI has built-in help that can be accessed by passing --help
into any command or by running:
amplify |
Proxy server configuration
If you you are behind a network proxy server, then you may need to set the proxy server URL by running the following command and replacing the username, password, proxy server URL, and port number.
amplify config set network.httpProxy http: // <username>:<password>@<proxy-server-url>:<port> |
You will also need to configure the proxy server for npm
:
npm config set https-proxy http: // <username>:<password>@<proxy-server-url>:<port> |
For more information, visit the configuration page.
Proxy server with self-signed certificate
If your proxy server uses a self-signed TLS/SSL certificate, then you will need to disable certificate validation:
# Linux/macOS export NODE_TLS_REJECT_UNAUTHORIZED=0 # Windows set NODE_TLS_REJECT_UNAUTHORIZED 0 |
Also, disable the certificate for npm
:
npm config set strict-ssl false |
Authentication
To log into the AMPLIFY Platform, run:
amplify auth login |
For more information, visit the authentication page.
Packages
The AMPLIFY CLI package manager allows you to search, view, install, update, and uninstall packages such as other Axway CLI products.
To search for an AMPLIFY package, run:
amplify pm search |
To install a package, run:
amplify pm install <package>[@<version>] |
To list installed packages, run:
amplify pm list |