CLI Reference

CLI Reference

Install and requirements

Requires Node >= 18 on macOS and pnpm.

Install globally:

Terminal window
pnpm add -g @hungrimind/hungrimind-cli

Verify the install:

Terminal window
hungrimind --version

Basic usage

Get help:

Terminal window
hungrimind --help
hungrimind flutter --help

Check the version:

Terminal window
hungrimind --version

Authentication

Log in with GitHub:

Terminal window
hungrimind login

This starts the GitHub device flow in your browser and stores the token at ~/.hungrimind/auth.json.

Log out manually:

Terminal window
rm -f ~/.hungrimind/auth.json

Flutter

Create a new Flutter project:

Terminal window
hungrimind flutter create NAME

Use a lowercase, underscore-separated NAME (for example, my_app). Login is required. The command downloads and configures a Hungrimind Flutter Kit project.

Then run it:

Terminal window
cd NAME
flutter run

See the Flutter Kit Guided Tour for a walkthrough.