Skip to content

Tutorials

Step-by-step guides for common Canvas CLI workflows.

Available Tutorials

  • Bulk Grading


    Grade multiple submissions efficiently using CSV files

    Bulk Grading

  • Course Sync


    Synchronize courses between Canvas instances

    Course Sync

  • Scripting & Automation


    Automate tasks with shell scripts and pipelines

    Scripting

  • Webhooks


    Receive real-time Canvas events and build integrations

    Webhooks

Quick Tips

Use JSON Output for Scripts

When writing scripts, always use -o json for reliable parsing:

canvas courses list -o json | jq '.[].id'

Batch Operations

Canvas CLI supports concurrent batch operations for better performance:

canvas submissions bulk-grade --csv grades.csv --course-id 123

Caching

Enable caching for repeated queries to reduce API calls:

canvas courses list  # Cached for subsequent calls
canvas courses list --no-cache  # Force fresh data