Get started
CLI reference
Install the CultLMS CLI and manage courses, tests, students and deployments from your terminal.
The CultLMS CLI works for admins, teachers, students and CI pipelines. It needs Node.js 20 or later and has no other dependencies.
Install
npx cultlms init apex-academy --demo # try it with a sample institute
# or install globally
npm install -g cultlms
init creates a workspace folder: cultlms.json (settings), .cultlms/ (data) and content/ (course files). Run every other command inside it, or pass --dir <path>.
Admins
| Command | What it does |
|---|---|
cultlms course import <file.zip or folder> | Import a course (lessons + optional course.json) |
cultlms batch create <id> --track neet --campus kota | Create a batch |
cultlms students import <file.csv> --batch <id> | Add students (columns: roll, name, email, phone) |
cultlms test create <id> --subject physics | Build a test from your question bank, or --from questions.csv |
cultlms test publish [id] --batch <id> [--at "2026-11-02 10:00"] | Publish a test (no id → latest unpublished) |
cultlms test results <id> | Leaderboard for a test |
cultlms reports export --format csv | Scores, ranks and percentages for every attempt |
Teachers
Sign in with cultlms login --institute <slug> --as <email>.
| Command | What it does |
|---|---|
cultlms batch list --mine | Your batches |
cultlms assignment create "Laws of Motion" --due friday | Assign to your batches (or --batch a,b) |
cultlms doubts list --unanswered | Open student doubts |
cultlms doubts answer <id> "…" | Reply to a doubt |
cultlms grades sync --test mock-12 | Re-score a test after fixing its answer key |
Students
cultlms login --institute apex-academy --as APX-001
cultlms test start neet-physics-mock-12 # timed, full-screen mock test
cultlms download physics --offline # save lessons to this device
cultlms progress # scores, ranks, subject accuracy
Deploy and operations
| Command | What it does |
|---|---|
cultlms deploy --self-hosted [--env production] [--domain …] | Write docker-compose.yml and start it with Docker |
cultlms deploy --lan | Serve the student portal on your local network, no Docker or internet |
cultlms migrate --to latest | Upgrade the workspace database |
cultlms backup create [--target ./backups or s3://bucket] | Archive data and content (S3 needs the AWS CLI) |
cultlms backup restore <file> --yes | Restore a backup |
Run cultlms help for every flag. Ids can be shortened: --test mock-12 finds neet-physics-mock-12.