Skip to main content

Overview

The init command sets up NotCMS in your project with interactive configuration.

What it does

  1. Creates notcms.config.json configuration file
  2. Checks environment variables in .env

Options

Interactive Setup

The command will guide you through:

1. Configuration

Examples

Basic initialization

Specify environment file path

Use this if you already have .env configured:

Troubleshooting

Next Steps

After initialization, you can:
  1. Start using the NotCMS client in your code
  2. Run npx notcms-kit pull to update your schema