Build simple to advanced CLIs in minutes
oclif is an open source framework for building a command line interface (CLI) in Node.js. Create CLIs with a few flags or advanced CLIs that have subcommands. oclif makes it easy for you to build CLIs for your company, service, or your own development needs.
⚡Ready to go
Scaffold a fully functional CLI to get started quickly. oclif packages our years of experience into out-of-the-box functionality for argument parsing, command testing, and auto-documentation of CLI features.
oclif is open source and free to use or modify. We think you’ll love it too and you can also help make it better.
✅Easy to extend
You or your users can easily extend your CLI functionality to meet custom needs using plugins. Plugins are modular and shareable, encouraging reuse.
oclif is actively used to build the Heroku and Salesforce CLIs, powering millions of interactions for developers every day.
CLIs built using
With oclif you can build command line tools for your business, open source project, or your own development workflow. Check out what others have built.