# Install livekit-cli with Homebrew, Nix, winget

Command-line interface to LiveKit. Version 2.16.7 via Homebrew; verified 2026-06-27.

## Install

```sh
sudo av install brew:livekit-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install livekit-cli
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#livekit-cli
```

  Evidence: nixpkgs package indexes: pkgs/by-name/li/livekit-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- winget (92%):

```sh
winget install --id LiveKit.LiveKitCLI -e
```

  Evidence: Windows Package Manager source index: LiveKit.LiveKitCLI from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:livekit-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/livekit-cli>
- **Version:** 2.16.7
- **Source summary:** Command-line interface to LiveKit
- **Homepage:** <https://livekit.io>
- **Repository:** <https://github.com/livekit/livekit-cli>
- **Upstream docs:** <https://docs.livekit.io/reference/developer-tools/livekit-cli>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/livekit/livekit-cli/archive/refs/tags/v2.16.7.tar.gz>
- **Last updated:** 2026-06-27T19:43:44Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- livekit-cli (cli)
- lk (cli)
- livekit-cli (alias)
- lk (alias)

## Dependencies

- portaudio

## Build dependencies

- go
- pkgconf

## 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: 2.16.7
- Package-manager updated: 2026-06-27
- Local data: ok
- Upstream repository: https://github.com/livekit/livekit-cli
- Upstream latest detected: v2.16.7 (current)
## Project history and usage

LiveKit CLI is the terminal interface for LiveKit projects. It packages common developer and operator workflows around LiveKit Cloud, self-hosted LiveKit servers, access tokens, rooms, egress, load testing, app templates, and agents.

### Project history

The livekit/livekit-cli repository was created on May 10, 2021, shortly before LiveKit's public launch in July 2021. The CLI grew alongside LiveKit's open source SFU and SDK ecosystem as the project moved from realtime audio/video infrastructure toward a broader agent and voice-AI platform.

LiveKit documentation describes the CLI, invoked as lk, as the primary interface for managing LiveKit Cloud projects, creating applications from templates, and deploying agents. The GitHub README also documents older core workflows such as token generation, room APIs, egress management, participant simulation, and load testing.

### Adoption history

The CLI's adoption follows LiveKit's developer adoption rather than a separate ecosystem. As LiveKit became a self-hostable and managed realtime stack, the CLI became the practical bridge between package-manager installation and day-to-day project setup.

By June 2024, LiveKit said its platform was used by more than 20,000 developers; the CLI sits in that workflow as a setup and management tool for both cloud projects and local/self-hosted testing.

### How it is used

Developers install LiveKit CLI with Homebrew, a shell installer, winget, or source builds. The documented precedence order for command parameters is command-line flags, environment variables, local configuration files such as ./livekit.toml, and then default project configuration.

The CLI can create access tokens, call LiveKit APIs, join rooms as a participant, publish demo media, start and manage egresses, run load tests, create app templates, authenticate to LiveKit Cloud, and deploy agents.

### Why package nerds care

livekit-cli is a good example of a modern infrastructure CLI that is both a package-manager binary and a cloud control surface. Its aliases and package names matter because users may invoke either livekit-cli or lk depending on installation path and documentation vintage.

For package maintainers, it combines typical Go CLI distribution with multimedia build considerations: the README notes audio and console subsystem dependencies around CGO, PortAudio, and WebRTC audio processing for source builds.

### Timeline

- 2021-05-10: The livekit/livekit-cli repository was created.
- 2021-07-07: LiveKit was publicly introduced as open source realtime audio/video infrastructure.
- 2024-06-04: LiveKit reported more than 20,000 developers using the platform.
- 2026-06-30: The livekit/livekit-cli repository showed active updates through GitHub metadata.

### Related projects

- The CLI is related to the LiveKit server, LiveKit Cloud, LiveKit Agents, client SDKs, server SDKs, egress, ingress, SIP, and LiveKit app template repositories.

### Sources

- <https://api.github.com/repos/livekit/livekit-cli>
- <https://docs.livekit.io/reference/developer-tools/livekit-cli/>
- <https://github.com/livekit/livekit-cli>
- <https://livekit.com/blog/and-were-live-kit>
- <https://livekit.com/blog/livekit-series-a>


## Security Notes

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./livekit.toml

## Credential files

- Unix: ./livekit.toml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** livekit-cli
- **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

## Other Package-Manager Records

- Nix - livekit-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/livekit-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- winget - LiveKit.LiveKitCLI: normalized package name match | Windows Package Manager source index: LiveKit.LiveKitCLI from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [livekit](https://www.automicvault.com/pkg/brew/livekit/) - Package name indicates the same formula family.
- [hatch](https://www.automicvault.com/pkg/brew/hatch/) - Shares av.db curated category or tags: cli, developer-tools, project-management.
- [hut](https://www.automicvault.com/pkg/brew/hut/) - Shares av.db curated category or tags: cli, developer-tools, project-management.
- [maven](https://www.automicvault.com/pkg/brew/maven/) - Shares av.db curated category or tags: cli, developer-tools, project-management.
- [pit](https://www.automicvault.com/pkg/brew/pit/) - Shares av.db curated category or tags: cli, developer-tools, project-management.
- [rojo](https://www.automicvault.com/pkg/brew/rojo/) - Shares av.db curated category or tags: cli, developer-tools, project-management.
- [rye](https://www.automicvault.com/pkg/brew/rye/) - Shares av.db curated category or tags: cli, developer-tools, project-management.
- [fjira](https://www.automicvault.com/pkg/brew/fjira/) - Shares av.db curated category or tags: cli, developer-tools, project-management.
- [pipet](https://www.automicvault.com/pkg/brew/pipet/) - Shares av.db curated category or tags: cli, developer-tools, project-management.
- [jfrog-cli](https://www.automicvault.com/pkg/brew/jfrog-cli/) - Local package facts share a topical domain. Shared terms: cli, command-line, developer, developer-tools, interface.
- [weaviate-cli](https://www.automicvault.com/pkg/brew/weaviate-cli/) - Local package facts share a topical domain. Shared terms: cli, command-line, developer, developer-tools, interface.
- [feedgnuplot](https://www.automicvault.com/pkg/brew/feedgnuplot/) - Local package facts share a topical domain. Shared terms: cli, command-line, developer, developer-tools, line.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
