# Install gotify with Homebrew, apk

Command-line interface for pushing messages to gotify/server. Version 2.3.2 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:gotify
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gotify
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add gotify
```

  Evidence: Alpine Linux edge package indexes: gotify from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

## Package facts

- **Package key:** brew:gotify
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/gotify>
- **Version:** 2.3.2
- **Source summary:** Command-line interface for pushing messages to gotify/server
- **Homepage:** <https://github.com/gotify/cli>
- **Repository:** <https://github.com/gotify/cli>
- **Upstream docs:** <https://github.com/gotify/cli#readme>
- **License:** MIT
- **Source archive:** <https://github.com/gotify/cli/archive/refs/tags/v2.3.2.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- gotify (cli)
- gotify (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.3.2
- Local data: ok
- Upstream repository: https://github.com/gotify/cli
- Upstream latest detected: v2.3.2 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

Gotify-CLI is the official command-line companion for gotify/server, a self-hosted push-notification system. It lets shell scripts and terminal users push messages to a Gotify server without writing raw HTTP requests.

### Project history

The gotify/server repository began in January 2018 and published its initial 1.0.0 release in February 2018. The gotify/cli repository followed in November 2018, with v1.2.0 published days later, giving the Gotify ecosystem a dedicated terminal client.

The CLI README describes a focused feature set: storing the server URL and application token in a config file, an initialization wizard, piping support, simple push commands, and a watch command that sends notifications when command output changes.

### Adoption history

Gotify-CLI adoption follows the self-hosted-notification audience for gotify/server. The README documents manual binary installation, Arch AUR packaging, and Homebrew installation, while also noting that curl or HTTPie can push messages directly for users who do not need the dedicated client.

### How it is used

Users initialize the CLI with gotify init, then send messages with gotify push, pipe standard input into push, or use gotify watch around another command. The config stores the Gotify URL and an application token, so scripts can push notifications without repeating credentials on every command line.

Release notes show maintenance around operational details such as dependency updates, environment-token overrides, and TLS trust configuration. That fits the CLI's role in scripts, cron jobs, and local monitoring workflows where reliability and noninteractive operation matter.

### Why package nerds care

For package nerds, Gotify-CLI is a tidy example of a self-hosted service exposing a first-party CLI while still keeping the HTTP API simple enough for curl. Its package value is convenience, credential storage, and script ergonomics rather than protocol exclusivity.

### Timeline

- 2018: gotify/server repository created.
- 2018: gotify/server v1.0.0 released.
- 2018: gotify/cli repository created and v1.2.0 released.
- 2019: gotify/cli v2.0.0 and v2.1.x releases published.
- 2023: v2.2.3 added GOTIFY_TOKEN override support and fixed a no-config push panic.
- 2024: v2.3.2 added SSL_CERT_FILE support for TLS verification.

### Related projects

- gotify/server is the required backend service for Gotify-CLI.
- curl and HTTPie are documented alternatives for direct HTTP message submission.

### Sources

- <https://formulae.brew.sh/formula/gotify>
- <https://github.com/gotify/cli>
- <https://github.com/gotify/cli#readme>
- <https://github.com/gotify/cli/releases>
- <https://github.com/gotify/server>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal


## 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: $XDG_CONFIG_HOME/gotify/cli.json, ~/.config/gotify/cli.json, ~/.gotify/cli.json

## Credential files

- Unix: $XDG_CONFIG_HOME/gotify/cli.json, ~/.config/gotify/cli.json, ~/.gotify/cli.json
## Source Database Details

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

- apk - gotify - 2.9.1-r3: normalized package name match | Alpine Linux edge package indexes: gotify from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A simple server for sending and receiving messages in real-time per WebSocket | https://gotify.net
- apk - gotify-openrc - 2.9.1-r3: normalized package name match | Alpine Linux edge package indexes: gotify-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A simple server for sending and receiving messages in real-time per WebSocket (OpenRC init scripts) | https://gotify.net


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line 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.
- [noti](https://www.automicvault.com/pkg/brew/noti/) - Shares av.db curated category or tags: cli, notifications, productivity.
- [notify](https://www.automicvault.com/pkg/brew/notify/) - Shares av.db curated category or tags: cli, notifications, productivity.
- [gitter-cli](https://www.automicvault.com/pkg/brew/gitter-cli/) - Shares av.db curated category or tags: cli, messaging, productivity.
- [gurk](https://www.automicvault.com/pkg/brew/gurk/) - Shares av.db curated category or tags: cli, messaging, productivity.
- [a2ps](https://www.automicvault.com/pkg/brew/a2ps/) - Shares av.db curated category or tags: cli, productivity.
- [abook](https://www.automicvault.com/pkg/brew/abook/) - Shares av.db curated category or tags: cli, productivity.
- [acronym](https://www.automicvault.com/pkg/brew/acronym/) - Shares av.db curated category or tags: cli, productivity.
- [ad](https://www.automicvault.com/pkg/brew/ad/) - Shares av.db curated category or tags: cli, productivity.
- [imessage-exporter](https://www.automicvault.com/pkg/brew/imessage-exporter/) - Local package facts share a topical domain. Shared terms: cli, command-line, line, messaging, productivity.
- [todoist-cli](https://www.automicvault.com/pkg/brew/todoist-cli/) - Local package facts share a topical domain. Shared terms: cli, command-line, interface, line, productivity.
- [growthbook](https://www.automicvault.com/pkg/npm/growthbook/) - Local package facts share a topical domain. Shared terms: cli, command-line, interface, line, productivity.

## Combined YAML source

View the package source record on GitHub. [combined/gotify.yml](https://github.com/automic-vault/db/blob/main/combined/gotify.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
