Skip to content
CultLMS

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

CommandWhat it does
cultlms course import <file.zip or folder>Import a course (lessons + optional course.json)
cultlms batch create <id> --track neet --campus kotaCreate a batch
cultlms students import <file.csv> --batch <id>Add students (columns: roll, name, email, phone)
cultlms test create <id> --subject physicsBuild 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 csvScores, ranks and percentages for every attempt

Teachers

Sign in with cultlms login --institute <slug> --as <email>.

CommandWhat it does
cultlms batch list --mineYour batches
cultlms assignment create "Laws of Motion" --due fridayAssign to your batches (or --batch a,b)
cultlms doubts list --unansweredOpen student doubts
cultlms doubts answer <id> "…"Reply to a doubt
cultlms grades sync --test mock-12Re-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

CommandWhat it does
cultlms deploy --self-hosted [--env production] [--domain …]Write docker-compose.yml and start it with Docker
cultlms deploy --lanServe the student portal on your local network, no Docker or internet
cultlms migrate --to latestUpgrade the workspace database
cultlms backup create [--target ./backups or s3://bucket]Archive data and content (S3 needs the AWS CLI)
cultlms backup restore <file> --yesRestore a backup

Run cultlms help for every flag. Ids can be shortened: --test mock-12 finds neet-physics-mock-12.