Skip to main content

πŸš€ New APIMatic CLI Commands to Build, Serve, and Customize your Developer Portal Experience

Β· 2 min read

We’ve just released v1.1.0-alpha.11 of the apimatic-cli, bringing powerful new commands that make it easier to create, serve, and customize your API portals using APIMatic's Docs as Code offering.

Here’s what’s new:


Quickstart​

Get started with your first API Portal using just a single command.

$ apimatic portal:quickstart

This command bootstraps a full API Portal project using the standard APIMatic directory structure, perfect for first-time users or rapid prototyping.

Use when: You want to quickly spin up a new project with everything set-up.

πŸ“„ Learn more about the Quickstart command here.


Create API Recipes​

Generate an API Recipe file to provide step-by-step guides or workflows for your use cases, tailored to your static API portal build.

$ apimatic portal:recipe:new --name="My API Recipe"

πŸ“„ Learn more about the API Recipe command here.


Preview Locally​

Generate and live-serve your API Portal with hot reload support.

$ apimatic portal:serve --port=3000

πŸ”₯ Great for rapid iteration and local previews.

πŸ“„ Learn more about the Portal Serve command here.​

Generate TOC​

Generate a Table of Contents (TOC) toc.yml file based on your custom content guides and your API definition.

$ apimatic portal:toc:new

πŸ“„ Read more about the TOC command here.


⚑ Upgrade Now​

Install the latest CLI version from NPM:

npm install -g @apimatic-cli

For more details and usage examples, check out the official CLI README or visit the GitHub Repository.

Happy building! πŸš€