Moodle Core CLI
Use standard Moodle web services from Node.js or the terminal, without installing a Moodle plugin.
Read the documentationProject status
Implemented Node.js client and CLI. Package version: 0.4.1. Compatibility evidence includes Moodle 5.3 beta source; it does not qualify every later Moodle release.
Getting started
- Use Node.js 22.13 or later and enable Moodle REST web services.
- Install the package and configure a limited Moodle token.
- Start with read-only commands; authorize writes explicitly.
npm install moodle-core-cliFull setup and requirements Keep going
Part of MoodlIA
Find tools for course authoring, assessment, analysis and reuse.
Explore the tools on moodlia.com