### Install kongctl on Linux Source: https://developer.konghq.com/kongctl Installs kongctl on Linux by downloading the binary from GitHub releases, extracting it, and moving it to the system's PATH. Verify the installation with the version command. ```bash curl -sL https://github.com/Kong/kongctl/releases/download/v1.2.1/kongctl_linux_amd64.zip -o kongctl.zip ``` ```bash unzip kongctl.zip ``` ```bash sudo mv kongctl /usr/local/bin/ ``` ```bash kongctl version --full ``` -------------------------------- ### Install kongctl using Mise Source: https://developer.konghq.com/kongctl Installs kongctl using the Mise tool version manager. Supports installing the latest version or a specific version. Verify the installation with the full version command. ```bash mise use -g github:Kong/kongctl@latest ``` ```bash mise use -g github:Kong/kongctl@1.2.1 ``` ```bash kongctl version --full ``` -------------------------------- ### Install kongctl on Windows Source: https://developer.konghq.com/kongctl Installs kongctl on Windows by downloading the binary from GitHub releases, extracting the ZIP archive, and adding the executable to the system's PATH. Verify the installation using PowerShell. ```powershell kongctl version --full ``` -------------------------------- ### Install bundled AI agent skills Source: https://developer.konghq.com/kongctl Installs bundled AI agent skills into a specified repository. This command is used for integrating AI capabilities into your Konnect setup. ```bash kongctl install skills ``` -------------------------------- ### Install kongctl on macOS using Homebrew Source: https://developer.konghq.com/kongctl Installs kongctl on macOS using the Homebrew package manager. Verify the installation by checking the full version information. ```bash brew install --cask kong/kongctl/kongctl ``` ```bash kongctl version --full ``` -------------------------------- ### Install kongctl using Docker Source: https://developer.konghq.com/kongctl Pulls the latest kongctl Docker image and verifies the installation by running the version command within a container. This is useful for environments where direct installation is not preferred. ```bash docker pull kong/kongctl:latest ``` ```bash docker run kong/kongctl version ``` -------------------------------- ### Get details for a specific API with JSON output Source: https://developer.konghq.com/kongctl Fetches detailed information for a specific API, named 'users-api', and formats the output as JSON. Useful for programmatic consumption of API details. ```bash kongctl get api users-api --output json ``` -------------------------------- ### View all kongctl commands and options Source: https://developer.konghq.com/kongctl Displays all available commands and their options for the kongctl CLI. Use this to explore the full functionality. ```bash kongctl --help ``` -------------------------------- ### Generate a plan from input configuration Source: https://developer.konghq.com/kongctl Creates a plan file (e.g., plan.json) from an input YAML configuration without applying any changes. This is useful for previewing intended modifications. ```bash kongctl plan -f my-portals.yaml --output-file plan.json ``` -------------------------------- ### Preview proposed changes from a generated plan Source: https://developer.konghq.com/kongctl Displays a preview of proposed changes based on a previously generated plan file. This allows for a final review before applying changes. ```bash kongctl diff --plan plan.json ``` -------------------------------- ### Apply changes from input configuration Source: https://developer.konghq.com/kongctl Applies changes (create and update only) from one or more input YAML configuration files. This command is used for deploying desired state without deletions. ```bash kongctl apply -f my-portals.yaml -f my-apis.yaml ``` -------------------------------- ### List all APIs in Konnect organization Source: https://developer.konghq.com/kongctl Retrieves a list of all APIs configured within your Konnect organization. This command is useful for an overview of available APIs. ```bash kongctl get apis ``` -------------------------------- ### Sync changes from input configuration Source: https://developer.konghq.com/kongctl Synchronizes changes (create, update, and delete) from an input YAML configuration file. This command ensures the Konnect state matches the declarative configuration. ```bash kongctl sync -f konnect.yaml ``` -------------------------------- ### Launch interactive terminal UI Source: https://developer.konghq.com/kongctl Opens an interactive terminal UI for exploring Konnect resources. This provides a user-friendly way to navigate and inspect your Konnect environment. ```bash kongctl view ``` -------------------------------- ### Authenticate to Konnect with browser-based device flow Source: https://developer.konghq.com/kongctl Initiates an authentication flow to Konnect using a browser-based device flow. This is the recommended method for interactive login. ```bash kongctl login ``` -------------------------------- ### Call Konnect APIs directly Source: https://developer.konghq.com/kongctl Allows direct invocation of Konnect APIs using the current authentication context. This is useful for executing specific API endpoints not covered by standard commands. ```bash kongctl api /v3/portals ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.