Skip to main content

Installation

Getting started with commands_cli is as simple as activating a Dart package.

1. Activate the package

Open your terminal and run the following command:

dart pub global activate commands_cli

This will install commands_cli globally on your system, making it available from any directory.

2. Verify the installation

To ensure that commands_cli has been installed correctly, you can run:

commands --version

This should print the version of the installed package.

That's it! You are now ready to start creating your own commands.