mesheryctl is the command-line interface for Meshery, enabling you to manage cloud native infrastructure, designs, performance tests, and lifecycle operations from your terminal.
Installation
See Installation Guide for platform-specific installation instructions.Global Flags
These flags are available for allmesheryctl commands:
Path to the Meshery configuration file
Enable verbose output for debugging. Short form:
-vDisplay help information for any command. Short form:
-hCommand Categories
Lifecycle Management
- system - Deploy, configure, and manage Meshery server and components
Design Management
- design - Create, apply, and manage cloud native infrastructure designs
- model - Work with infrastructure models in the registry
- component - Manage Meshery components
- relationship - Define and manage component relationships
Performance Testing
- perf - Run performance tests and manage test profiles
Workspaces & Environments
- workspace - Manage team workspaces
- environment - Configure deployment environments
- connection - Manage Kubernetes and cloud connections
Registry Management
- registry - Manage the Meshery capability registry
Usage Examples
Configuration File
The default configuration file is located at~/.meshery/config.yaml. This file stores:
- Current context and platform settings
- Meshery server endpoint
- Authentication tokens
- Component versions and channels
You can specify a different config file using the
--config flag on any command.Command Completion
Generate shell completion scripts:Getting Help
Every command and subcommand supports the--help flag:
Exit Codes
0- Success1- General error2- Misuse of command (invalid flags or arguments)