Install the RealmKit CLI globally
npm install -g @realmkit/cli
After installation, you can verify it's working by running:
realmkit --version
Options available for all commands
--help, -h
Show help information--version, -v
Show version number--verbose
Enable verbose output--quiet, -q
Suppress output--config
Path to config filerealmkit create
Create a new project from a realm template
realmkit create <realm-name> [project-name] [options]
realmkit create saas-starter my-app
realmkit create nextjs-blog --typescript
realmkit create api-template backend --git
--typescript
Use TypeScript variant if available--git
Initialize git repository--install
Automatically install dependenciesrealmkit search
Search for realm templates
realmkit search [query] [options]
realmkit search saas
realmkit search --category=api
realmkit search nextjs --tags=typescript
--category
Filter by category--tags
Filter by tags--limit
Limit number of resultsrealmkit publish
Publish your realm to the hub
realmkit publish [options]
realmkit publish
realmkit publish --name="My Realm" --category=saas
realmkit publish --dry-run
--name
Realm name--description
Realm description--category
Realm category--dry-run
Preview without publishingrealmkit list
List available realms
realmkit list [options]
realmkit list
realmkit list --featured
realmkit list --category=web
--featured
Show only featured realms--category
Filter by category--format
Output format (table, json)realmkit info
Get detailed information about a realm
realmkit info <realm-name>
realmkit info saas-starter
realmkit info nextjs-blog --json
--json
Output as JSONrealmkit config
Manage RealmKit configuration
realmkit config <subcommand> [options]
realmkit config set api-key YOUR_KEY
realmkit config get
realmkit config reset
--global
Use global configurationRealmKit CLI configuration options
The CLI looks for configuration in the following locations:
~/.realmkit/config.json
(global)./.realmkit.json
(project-specific)REALMKIT_
{
"apiKey": "your-api-key",
"registry": "https://registry.realmkit.com",
"defaultCategory": "web",
"autoInstall": true,
"git": {
"autoInit": true,
"defaultBranch": "main"
}
}