Comprehensive guide to command-line interface usage with interactive demonstrations
curl -fsSL https://install.cli.dev | sh
This downloads and runs the installation wizard which will:
cli --version
Expected output: 12.3.4
cli selfcheck
This will verify CLI integrity and show the environment status
cli install @core/cli --global
Installs a globally available CLI tool with automatic dependencies
cli run dev --watch
Executes the development server with watching enabled
cli config set api.key=xyz123
Sets API key in configuration for plugins to access
cli help install
Displays detailed help documentation for installed commands
cli init my-project --template=react
Creates new project directory with specified template and dependencies
cli dependencies add @ui-kit/core
Adds dependency to project manifest file and performs installation
cli build --production
Generates optimized application build with sourcemaps.
cli deploy --env=staging
Deploys application to configured environment with CI/CD integration
cli pipeline run --steps=build,lint,test
Executes sequential pipeline steps with:
cli plugins install @security/acl
cli plugins uninstall @build/webpack
All plugins follow the same CLI command pattern and can be versioned independently