Skip to content

canvas-cliCanvas LMS CLI

Agent-friendly command-line interface for Canvas LMS. 50+ commands, stable JSON output, mutation safety gates.

canvas-cli

Quick Start

bash
# Install
brew tap thedavidweng/tap
brew install --cask canvas-cli

# Authenticate
canvas auth login

# Use
canvas courses list --json
canvas assignments list COURSE_ID --json

Key Commands

CommandDescription
canvas courses listList enrolled courses
canvas assignments listList assignments in a course
canvas submissions listList submissions for an assignment
canvas discussions listList discussion topics
canvas inbox listList inbox conversations
canvas files listList files in a course
canvas api getRaw API passthrough

Built with VitePress