Installing APIMatic CLI
APIMatic CLI, or apimatic is a command-line interface to APIMatic for use in your favorite terminal or automation scripts.
Features Supported by APIMatic CLI
Currently, APIMatic CLI supports the following features:
- Validation of API Specifications.
- Transformation between API specification formats including OpenAPI/Swagger, RAML, WSDL and Postman Collections. To view a full list for these formats, refer to API Transformer.
- SDK/Client library generation for APIs.
- API Documentation generation.
How to Install APIMatic CLI?
APIMatic CLI is built with Node.js and is installable via npm.
note
If you do not have Node.js and npm, please install through Node.js Downloads.
Install CLI
Run the following command to install the CLI.
npm install -g @apimatic/cli
Verify Installation
To verify the CLI installation, use apimatic --version
command. You should be able to see the installed version of the CLI after successful installation.
$ apimatic --version
To learn more about APIMatic commands, refer to Getting Started Guide.