Files
kage/docs/content/getting-started/installation.md
T
Duc-Tam Nguyen 7157144c75 Document Homebrew and Scoop, and fix the deb/rpm filenames
The README never mentioned the package managers and the docs covered Homebrew
but not Scoop, even though both ship from every release. Add the Homebrew
(macOS) and Scoop (Windows) channels to both. Fix the Linux package globs:
GoReleaser names them kage_<ver>_amd64.deb and kage-<ver>-1.x86_64.rpm, not
kage_*_linux_amd64.{deb,rpm}, so the documented commands matched nothing.
2026-06-19 17:16:11 +07:00

74 lines
1.8 KiB
Markdown

---
title: "Installation"
description: "Install kage from Go, Homebrew, Scoop, a release archive, a Linux package, or the container image, and point it at a browser."
weight: 20
---
kage is a single binary. Pick whichever channel suits you.
## Go
```bash
go install github.com/tamnd/kage/cmd/kage@latest
```
## Homebrew (macOS)
```bash
brew install tamnd/tap/kage
```
The cask installs the prebuilt macOS binary. On Linux, use the packages below or
`go install`.
## Scoop (Windows)
```bash
scoop bucket add tamnd https://github.com/tamnd/scoop-bucket
scoop install kage
```
## Release archives and Linux packages
Every [release](https://github.com/tamnd/kage/releases) attaches `tar.gz`
archives (and a `.zip` for Windows) for Linux, macOS, Windows, and FreeBSD, plus
`.deb`, `.rpm`, and `.apk` packages and a `checksums.txt` with a cosign
signature. Download the one for your platform, extract `kage`, and put it on your
`PATH`.
```bash
# Debian/Ubuntu
sudo dpkg -i kage_*_amd64.deb
# Fedora/RHEL
sudo rpm -i kage-*.x86_64.rpm
```
## Container
The image bundles Chromium, so it needs nothing else:
```bash
docker run -v "$PWD/out:/out" ghcr.io/tamnd/kage clone example.com
```
The mirror lands in `./out/example.com/` on your host.
## You need a browser
kage drives a real Chrome to render pages. Outside the container image, it needs
Chrome or Chromium available on the machine. It looks for a system install
automatically (Google Chrome on macOS and Windows, `google-chrome`/`chromium` on
Linux). To use a specific binary:
```bash
kage clone example.com --chrome /path/to/chromium
# or
export KAGE_CHROME=/path/to/chromium
```
If no browser is found, kage's launcher can download a private copy of Chromium
on first use.
Next: [the quick start](/getting-started/quick-start/).