⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
docs(cli): add Homebrew as an install option
Andrej8f740d22c36c
diff --git a/apps/docs/cli/index.mdx b/apps/docs/cli/index.mdxindex 3cbe92c73..2c0418bb5 100644--- a/apps/docs/cli/index.mdx+++ b/apps/docs/cli/index.mdx@@ -14,7 +14,7 @@ kaneo loginkaneo```-On Windows, install it in PowerShell with `irm https://kaneo.app/cli/install.ps1 | iex`. With Node.js 20 or newer, `npm install -g @kaneo/cli` works too. [Install](/cli/install) covers versions, mirrors and supported systems, and [Sign in](/cli/sign-in) covers self-hosted servers and API keys.+On Windows, install it in PowerShell with `irm https://kaneo.app/cli/install.ps1 | iex`. Homebrew (`brew install usekaneo/tap/kaneo`) and npm (`npm install -g @kaneo/cli`, Node.js 20 or newer) work too. [Install](/cli/install) covers versions, mirrors and supported systems, and [Sign in](/cli/sign-in) covers self-hosted servers and API keys.## Everyday commandsdiff --git a/apps/docs/cli/install.mdx b/apps/docs/cli/install.mdxindex 7510163df..b406f2b57 100644--- a/apps/docs/cli/install.mdx+++ b/apps/docs/cli/install.mdx@@ -29,6 +29,16 @@ Then [sign in](/cli/sign-in) and run `kaneo` on its own to see your account, youBoth scripts are plain text. Read them before running them: [install.sh](https://github.com/usekaneo/kaneo/blob/main/apps/site/public/cli/install.sh) and [install.ps1](https://github.com/usekaneo/kaneo/blob/main/apps/site/public/cli/install.ps1), or print one with `curl -fsSL https://kaneo.app/cli/install.sh | less`.</Tip>+## Install with Homebrew++On macOS and Linux with [Homebrew](https://brew.sh):++```bash+brew install usekaneo/tap/kaneo+```++Update it with `brew upgrade kaneo` and remove it with `brew uninstall kaneo`. Homebrew installs the same binary as the install script, from the CLI release, and checks it against the release checksums.+## Install with npmWith Node.js 20 or newer, you can install the same CLI from npm instead:@@ -37,7 +47,7 @@ With Node.js 20 or newer, you can install the same CLI from npm instead:npm install -g @kaneo/cli```-Update it with `npm install -g @kaneo/cli@latest` and remove it with `npm uninstall -g @kaneo/cli`. Both install methods share your logins and settings. Keep one of them per machine: with both installed, whichever comes first on your `PATH` runs, and the install script warns about the other copy.+Update it with `npm install -g @kaneo/cli@latest` and remove it with `npm uninstall -g @kaneo/cli`. Every install method shares your logins and settings. Keep one of them per machine: with more than one installed, whichever comes first on your `PATH` runs, and the install script warns about the other copy.## Install optionsdiff --git a/packages/cli/README.md b/packages/cli/README.mdindex 91ffecea5..fbd133728 100644--- a/packages/cli/README.md+++ b/packages/cli/README.md@@ -24,9 +24,10 @@ Windows (PowerShell):irm https://kaneo.app/cli/install.ps1 | iex```-With Node.js 20 or newer:+With Homebrew, or with npm and Node.js 20 or newer:```bash+brew install usekaneo/tap/kaneonpm install -g @kaneo/cli```@@ -48,7 +49,7 @@ curl -fsSL https://kaneo.app/cli/install.sh | KANEO_DOWNLOAD_URL=https://mirror.$env:KANEO_VERSION = "0.1.0"; irm https://kaneo.app/cli/install.ps1 | iex```-To update, run the install command again, or `npm install -g @kaneo/cli@latest` for an npm install. To uninstall, delete the binary, and `~/.config/kaneo` too if you want to remove your logins.+To update, run the install command again, `brew upgrade kaneo` for Homebrew, or `npm install -g @kaneo/cli@latest` for npm. To uninstall, delete the binary, and `~/.config/kaneo` too if you want to remove your logins.Prefer the script to downloading a binary from the release page with a browser: the macOS builds are signed ad hoc but not notarized, so Gatekeeper can block browser downloads. On Alpine and other musl distributions, install the C++ runtime first with `apk add libstdc++`. See the [install guide](https://kaneo.app/docs/cli/install) for mirrors, offline installs and supported systems.diff --git a/skills/kaneo-cli/SKILL.md b/skills/kaneo-cli/SKILL.mdindex 3632924f7..11bef803b 100644--- a/skills/kaneo-cli/SKILL.md+++ b/skills/kaneo-cli/SKILL.md@@ -11,7 +11,7 @@ description: Work with Kaneo tasks, projects, comments and time tracking throughRun `kaneo context`. It prints the server, user, workspace and project in use, and where each value came from.-- `kaneo: command not found`: ask the user to install it in their own terminal, where they can read the script first: `curl -fsSL https://kaneo.app/cli/install.sh | sh` (Windows: `irm https://kaneo.app/cli/install.ps1 | iex`), or `npm install -g @kaneo/cli` with Node.js 20 or newer. The script's binary lands in `~/.local/bin/kaneo` (Windows: `%LOCALAPPDATA%\Programs\kaneo\kaneo.exe`). Your shell may not have that folder on its `PATH` yet, so call it by that full path until it does.+- `kaneo: command not found`: ask the user to install it in their own terminal, where they can read the script first: `curl -fsSL https://kaneo.app/cli/install.sh | sh` (Windows: `irm https://kaneo.app/cli/install.ps1 | iex`), `brew install usekaneo/tap/kaneo` with Homebrew, or `npm install -g @kaneo/cli` with Node.js 20 or newer. The script's binary lands in `~/.local/bin/kaneo` (Windows: `%LOCALAPPDATA%\Programs\kaneo\kaneo.exe`). Your shell may not have that folder on its `PATH` yet, so call it by that full path until it does.- No user: `kaneo login` is a browser approval only a person can finish. Ask the user to run it in their own terminal. Headless and CI runs use an API key in `KANEO_API_KEY` instead (created in Kaneo under Settings, Account, API Keys).- No workspace: list them with `kaneo workspace list --jq '.[] | "\(.id) \(.name)"'` and pass `-w <id>`, or ask the user to pick a default with `kaneo workspace use`.- Server or compatibility errors: `kaneo doctor` explains what is wrong.