# Install swctl with Homebrew

Apache SkyWalking CLI (Command-line Interface). Version 0.14.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:swctl
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install swctl
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:swctl
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/swctl>
- **Version:** 0.14.0
- **Source summary:** Apache SkyWalking CLI (Command-line Interface)
- **Homepage:** <https://skywalking.apache.org/>
- **Repository:** <https://github.com/apache/skywalking-cli>
- **Upstream docs:** <https://github.com/apache/skywalking-cli#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/apache/skywalking-cli/archive/refs/tags/0.14.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- swctl (cli)
- swctl (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.14.0
- Local data: ok
- Upstream repository: https://github.com/apache/skywalking-cli
- Upstream latest detected: 0.14.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

Apache SkyWalking CLI, installed as swctl, is the command-line companion for Apache SkyWalking. It gives operators a shell-oriented alternative to the SkyWalking browser UI by issuing GraphQL queries against SkyWalking services.

### Project history

The Apache SkyWalking project announced SkyWalking CLI 0.1.0 on December 10, 2019. That first release added commands for listing services, instances, endpoints, and querying metrics, including an ASCII graph mode for linear metrics.

### Adoption history

The CLI grew as part of the wider SkyWalking observability distribution rather than as an independent general-purpose tool. Official documentation and examples use swctl in operational contexts such as health checks, debugging end-to-end tests, and checking reported Kubernetes events.

### How it is used

swctl is commonly used by SkyWalking users and operations teams to query OAP through the same GraphQL protocol used by the UI. The official README documents installation through scripts, release binaries, source builds, and Homebrew on macOS.

### Why package nerds care

For package maintainers, swctl is a small but useful example of a project-specific operations CLI: it is packaged separately from the main server stack, has a stable executable name, and lets scripted deployments inspect observability state without bundling a full UI.

### Timeline

- 2019: Apache SkyWalking CLI 0.1.0 released.
- 2020: Multiple SkyWalking CLI releases followed as the SkyWalking 8 series matured.
- 2024: SkyWalking 10 release notes mention removal of the CLI from the image, reinforcing the CLI as a separately installed tool.

### Related projects

- Apache SkyWalking OAP is the backend swctl queries.
- Apache SkyWalking UI is the browser interface that swctl complements.
- Apache SkyWalking Kubernetes and E2E documentation show swctl used in deployment and test workflows.

### Sources

- <https://github.com/apache/skywalking-cli>
- <https://skywalking.apache.org/docs/main/next/en/changes/changes-10.0.0/>
- <https://skywalking.apache.org/docs/main/next/en/setup/backend/backend-health-check/>
- <https://skywalking.apache.org/events/release-apache-skywalking-cli-0-1-0/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** swctl
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [license-eye](https://www.automicvault.com/pkg/brew/license-eye/) - Shares the same upstream homepage.
- [grizzly](https://www.automicvault.com/pkg/brew/grizzly/) - Shares av.db curated category or tags: cli, cloud-infrastructure, observability.
- [logcli](https://www.automicvault.com/pkg/brew/logcli/) - Shares av.db curated category or tags: cli, cloud-infrastructure, observability.
- [mcp-grafana](https://www.automicvault.com/pkg/brew/mcp-grafana/) - Shares av.db curated category or tags: cli, cloud-infrastructure, observability.
- [mimirtool](https://www.automicvault.com/pkg/brew/mimirtool/) - Shares av.db curated category or tags: cli, cloud-infrastructure, observability.
- [newrelic-infra-agent](https://www.automicvault.com/pkg/brew/newrelic-infra-agent/) - Shares av.db curated category or tags: cli, cloud-infrastructure, observability.
- [sloth-cli](https://www.automicvault.com/pkg/brew/sloth-cli/) - Shares av.db curated category or tags: cli, cloud-infrastructure, observability.
- [kubespy](https://www.automicvault.com/pkg/brew/kubespy/) - Shares av.db curated category or tags: cli, cloud-infrastructure, observability.
- [linkerd](https://www.automicvault.com/pkg/brew/linkerd/) - Shares av.db curated category or tags: cli, cloud-infrastructure, observability.
- [apache-brooklyn-cli](https://www.automicvault.com/pkg/brew/apache-brooklyn-cli/) - Local package facts share a topical domain. Shared terms: apache, cli, cloud, cloud-infrastructure, command-line.

## Combined YAML source

View the package source record on GitHub. [combined/swctl.yml](https://github.com/automic-vault/db/blob/main/combined/swctl.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
