Repository navigation
feat(install): support macOS and install skills in the curl installer - #1057
Open
JackNDwyer wants to merge 1 commit into
Open
JackNDwyer wants to merge 1 commit into
JackNDwyer wants to merge 1 commit into
Conversation
install-cli.sh (served at get.livekit.io/cli) now installs on macOS as well as Linux, picking the darwin archive for Intel or Apple silicon. It no longer needs jq or sha256sum, which older macOS lacks, and creates /usr/local/bin when a fresh Mac doesn't have it. LK_INSTALL_PATH installs elsewhere. After installing, it runs `lk skills install --global --yes` when someone is watching (stdout is a terminal) or LK_INSTALL_SKILLS=1, and skips it in CI, as root, or with LK_INSTALL_SKILLS=0. A failure there doesn't fail the install. It also warns when another lk, such as Homebrew's, comes first on PATH. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
install-cli.sh(whatget.livekit.io/cliserves) now installs on macOS as well as Linux, using the existing darwin release archives for Intel and Apple silicon.jqorsha256sum, which macOS before 15 doesn't ship: the version comes from where/releases/latestredirects, and the checksum falls back toshasum -a 256./usr/local/binif a fresh Mac doesn't have it.LK_INSTALL_PATHinstalls somewhere else, such as a user-level folder that needs nosudo.lk skills install --global --yes, which installs LiveKit's skills and the Docs MCP server for the coding agents it finds. It runs when stdout is a terminal (undercurl | bash, stdin is the script) or withLK_INSTALL_SKILLS=1, and is skipped in CI, as root, or withLK_INSTALL_SKILLS=0. A failure there is a warning, not a failed install.lk, usually Homebrew's, comes first onPATH, or when the install folder isn't onPATH.Why
This is the second half of DEVX-843: one command that installs the CLI, the Docs MCP server and the skills, so coding agents can build LiveKit agents from the start (DEVX-840). Mac users had only Homebrew, which can't run that step. The first half, a one-time offer in
lkitself, is #1056.get.livekit.io/cliredirects to this file onmain, so merging ships it immediately; there's no release step.How to verify
Without touching
/usr/local/bin, run the branch's script into a temporary folder, with a test home that has a Claude Code folder:Expect the darwin (or linux) archive to download and pass the checksum,
$T/bin/lk --versionto print the latest version, and seven skills in$T/home/.claude/skillswith the Docs MCP server added. WithLK_INSTALL_SKILLS=0orCI=1, no skills are installed.What I tested on macOS 26 (Apple silicon): the full install with skills, the skip paths (no terminal,
LK_INSTALL_SKILLS=0,CI=1), no coding agents (warning, exit 0), and the HomebrewPATHwarning. With a stubbeduname, Linux x86_64, Linux aarch64 and Intel macOS each downloaded the right archive, passed the checksum and installed the right binary. Not tested: the default/usr/local/bininstall withsudo, a real Linux machine, and shellcheck (Docker wasn't running locally;bash -npasses).🤖 Generated with Claude Code