A package manager CLI for downloading, installing, and managing binary packages.
curl -sL https://raw.githubusercontent.com/teamcutter/chatr/main/install.sh | shAdd the chatr bin directory to your PATH:
export PATH="$HOME/.chatr/bin:$PATH"Add this line to your shell configuration file (~/.bashrc, ~/.zshrc, etc.) to make it permanent.
- Go 1.25 or later
mkdir -p ~/.chatr/bin && go build -o ~/.chatr/bin/chatr ./cmd/chatr~/ chatr install hello
Downloading hello 100% |█████████████████████████████████████████████| (53/53 kB, 540 kB/s)
✓ hello@2.12.2
cache: /Users/user/.chatr/cache/hello/2.12.2
path: /Users/user/.chatr/packages/hello/2.12.2
~/ hello
Hello, world!Install one or more packages.
chatr install <name>...| Flag | Short | Default | Description |
|---|---|---|---|
--version |
-v |
latest |
Package version |
--sha256 |
Expected SHA256 checksum |
Remove one or more installed packages.
chatr remove [name...]| Flag | Short | Default | Description |
|---|---|---|---|
--version |
-v |
latest |
Package version to remove |
--all |
false | Remove all installed packages |
List all installed packages.
chatr listSearch for packages in the registry.
chatr search <query>| Flag | Short | Default | Description |
|---|---|---|---|
--show |
-s |
50 |
Number of results to display |
Clear the packages cache.
chatr clearPrint the version of chatr.
chatr versionUpdate chatr to the newest version.
chatr newApache License 2.0