• Blog
  • Documentation
  • Courses
  • Changelog
  • AI Starters
  • UI Kit
  • FAQ
  • Supamode
    New
  • Pricing

Launch your next SaaS in record time with Makerkit, a React SaaS Boilerplate for Next.js and Supabase.

Makerkit is a product of Makerkit Pte Ltd (registered in the Republic of Singapore)Company Registration No: 202407149CFor support or inquiries, please contact us

About
  • FAQ
  • Contact
  • Verify your Discord
  • Consultation
  • Open Source
  • Become an Affiliate
Product
  • Documentation
  • Blog
  • Changelog
  • UI Blocks
  • Figma UI Kit
  • AI SaaS Starters
License
  • Activate License
  • Upgrade License
  • Invite Member
Legal
  • Terms of License

Announcing the Makerkit CLI

Sep 23, 2023

We are excited to announce the release of the Makerkit CLI, a command-line tool that helps you build and manage your Makerkit projects.

changelog

Super excited to announce the release of the Makerkit CLI, a command-line tool that helps you build and manage your Makerkit projects 🚀

The CLI is a set of commands that help you manage your Makerkit SaaS Starter Kits. It can help you with:

  1. Starting a new Project: Generating any of the SaaS Starter Kits in one simple command
  2. Plugins: Installing and updating the plugins available for your SaaS Starter Kit
  3. Translations: Managing your i18n files - translate them, verify them, and more
  4. Content Generation: Generating blog posts using the OpenAI API

... with more features coming soon, including dynamic code generation.

Installation

Your can run commands using npx:

text
npx @makerkit/cli@latest <command>

Simply replace the examples below with npx @makerkit/cli@latest instead of makerkit to run the commands without installing the CLI globally.

This allows you to always run the latest version of the CLI without having to update it.

Usage

Running the CLI without any arguments will display the help:

text
Usage: makerkit [options] [command]
Your SaaS Kit companion. Add plugins, manage migrations, and more.
Options:
display the version number output the version number
-h, --help display help for command
Commands:
new Initialize a new Makerkit project
plugins List and install plugins.
i18n Manage and translate your i18n files
license Manage Licenses
blog Manage and generate your blog posts
help [command] display help for command

Adding an OpenAI Key (optional)

To use the generative AI features of the CLI, you will need to add an OpenAI key.

To do so, create a .env.local file if it does not exist yet, and add the following environment variable:

text
OPENAI_API_KEY=<your-key>

This key will be used to generate the prompts for your blog posts. It remains locally on your computer and is not shared with anyone.

At the moment of writing, the CLI only uses the OpenAI API to generate:

  1. Translations for your i18n files
  2. Blog Posts

Creating a new Makerkit project

To create a new Makerkit project, you can use the new command:

text
> npx @makerkit/cli@latest new

The CLI will prompt you to select a starter kit to use and a name. Once selected, the CLI will create a new project in the current directory by pulling the starter kit from GitHub.

The command will also install the dependencies.

Plugins

The CLI can help you manage plugins in your project. You can list the available plugins, install them, and update them.

Listing plugins

To list the available plugins, you can use the plugins list command:

text
> npx @makerkit/cli@latest plugins list
Available plugins:
- cookie-banner

Installing plugins

To install a plugin, you can use the plugins install command:

text
> npx @makerkit/cli@latest plugins install

This command will prompt you to select a plugin to install. Once selected, the plugin will be installed in your project.

Updating plugins

To update a plugin, you can use the plugins update command:

text
> npx @makerkit/cli@latest plugins update

This command will prompt you to select a plugin to update. Once selected, the plugin will be updated in your project.

i18n

The CLI can help you manage your i18n files. You can translate from a locale to another (requires an OpenAI key), and verify that your translations are in sync between each other.

Translating

To translate your i18n files, you can use the i18n translate command:

text
> npx @makerkit/cli@latest i18n translate en es

This command will translate all the keys in your en/*.json file to es/*. json. It will use the OpenAI API to translate the keys. You will need to add a valid OpenAI API key in the .env.local file of your Makerkit repository.

Verifying

To verify that your i18n files are in sync, you can use the i18n verify command:

text
> npx @makerkit/cli@latest i18n verify <base-locale>

If you omit the base-locale argument, the command will use en as the base.

Blog

The CLI can help you generate your blog posts.

NB: this command requires you to setup an OpenAI key.

Generating a new blog post

To generate a new blog post, you can use the blog generate command:

text
> npx @makerkit/cli@latest blog generate

You will be prompted to enter the following information:

  1. Title: The title of the blog post
  2. Category: The category of the blog post. At this time, this file needs to exist in your Makerkit repository. You can create it later.
  3. Word Count: The target word count of the blog post.
  4. Prompt: Any additional information you want to add to the prompt (optional).
Some other posts you might like...
Aug 29, 2025Introducing Custom Dashboards in Supamode: Build Dynamic Analytics InterfacesCreate powerful Supabase dashboard interfaces with Supamode's custom analytics platform. Build personalized Supabase analytics views with drag-and-drop widgets and real-time data visualization.
Aug 21, 2025Makerkit 2.13.0: Components Showcase, Next.js 15.5 & Advanced Data TablesNext.js 15.5 upgrade, Component Showcase, enhanced Table component directly from Supamode to the SaaS Kit
Jul 10, 2025Introducing Supamode, the enterprise-grade Super Admin for SupabaseIntroducing Supamode, a self-hosted enterprise-grade Super Admin for Supabase, turning your database into a powerful, flexible, and secure CMS.
Jun 13, 2025Makerkit 2.11.0: Building Better Authentication ExperiencesDeep dive into the new authentication features: Identity Linking, OTP Sign-In, Smart User Hints, and Legacy Plans support. Learn how these features solve real user problems and reduce support overhead.
Apr 29, 2025Multi-Platform Deployment: Docker, Cloudflare & Self-Hosting Now Available in MakerkitDeploy your Makerkit SaaS projects anywhere with our new first-class support for Docker, Cloudflare, and self-hosting on VPS. Generate configuration files with a single command and follow our comprehensive guides to get up and running quickly.
Mar 10, 2025Introducing the React Router 7 SaaS Starter KitAnnouncing the release of our React Router 7 + Supabase SaaS Boilerplate! The SaaS template for shipping your SaaS with React Router 7.
Mar 1, 2025Using OTP Verification in MakerkitLearn how to implement OTP verification in Makerkit to add extra security to your application.