Homebrew is the recommended installation method on macOS and Linux. On Windows, choose the per-user installer from a release that includes setup.exe assets. Prebuilt downloads do not require Go. ZIP archives remain available for manual installation, and Go is an option for developers.
Pushman for iPhone is preparing for its first public App Store release. Check the product repository for app access. Installing the CLI does not install the iPhone app, create an account, authorize automatically, start a background service, or send a notification.
Install the fully qualified Formula:
brew install whitekiwi/tap/pushman
pushman versionHomebrew adds whitekiwi/tap automatically and trusts only the Pushman Formula. You do not need to trust every package in the tap.
Update an existing installation:
pushman self-updatepushman self-update verifies that the running executable belongs to the Pushman Homebrew Formula before asking Homebrew to upgrade it. It refuses Go installs, release archives, and other unowned executables; update those with their original installation method. Installations older than v0.1.1 need one manual brew upgrade whitekiwi/tap/pushman to gain this command.
To remove Pushman and revoke this CLI's server credential:
pushman logout
brew uninstall pushmanUninstalling without pushman logout removes the executable but intentionally leaves its Keychain or credential-store entry and server authorization intact. Reinstalling the CLI can use that authorization again.
Select your version on GitHub Releases. For releases containing installers, choose pushman_<version>_windows_x86_64_setup.exe for x64 or pushman_<version>_windows_arm64_setup.exe for Windows on ARM. v0.3.0 and older releases have ZIP archives only; use the ZIP steps for those versions.
Download the matching installer and checksums.txt. Verify its SHA-256 against exactly one matching filename in that file, then verify GitHub build provenance before opening it. With PowerShell 7 and the GitHub CLI:
$ErrorActionPreference = 'Stop'
$installer = (Resolve-Path '.\pushman_<version>_windows_<arch>_setup.exe').Path # Replace with your downloaded file.
$name = Split-Path $installer -Leaf
$pattern = '^([0-9a-fA-F]{64})\s+\*?' + [regex]::Escape($name) + '$'
$entries = @(Get-Content .\checksums.txt | Where-Object { $_ -match $pattern })
if ($entries.Count -ne 1) { throw 'Expected exactly one matching checksum' }
if (($entries[0] -split '\s+')[0] -ne (Get-FileHash $installer -Algorithm SHA256).Hash) { throw 'Checksum mismatch' }
gh attestation verify $installer -R pushmanhq/pushman-cli
if ($LASTEXITCODE -ne 0) { throw 'Provenance verification failed' }Open the verified installer. It installs for your Windows user into %LOCALAPPDATA%\Programs\Pushman, offers Add Pushman to my user PATH, and registers Pushman CLI in Settings → Apps → Installed apps. It follows the system appearance and includes English/Korean UI. Administrator access is unnecessary. Open a new terminal afterward, run pushman version and pushman help, then run pushman login when ready. Restart desktop MCP clients so they see the updated executable and PATH. If you deselect PATH registration, use the installed executable's absolute path.
The current installer implementation is unsigned. SHA-256 and GitHub provenance are separate from Windows publisher signing; a verified download can still show an unknown-publisher or SmartScreen prompt. Publisher signing is planned separately.
For an update, stop running CLI commands and Pushman subprocesses in MCP clients, verify the new installer, and run it with the same destination. It updates the existing Installed apps entry and remembers your PATH choice. Keep the previous verified installer outside the installation directory for rollback; verify it again and run it with the same destination to restore that version. pushman self-update handles Homebrew installations only.
To revoke authorization, run pushman logout before uninstalling. Then remove Pushman CLI through Installed apps. The uninstaller removes its installed files and its own PATH entry, preserving unrelated files, preexisting PATH entries, and credentials. Uninstalling without logout retains authorization for a later reinstall. A ZIP installation in the same folder can be adopted by the installer, but manually added PATH entries remain yours to remove. Avoid keeping multiple installations on PATH; Get-Command pushman.exe -All shows which executable will run.
Release automation generates a validated pushman_<version>_winget.zip submission bundle from the final x64/ARM64 installer files. A generated bundle does not mean the package is available in WinGet. The first catalog submission is under review; until winget show --id PushmanHQ.Pushman --exact finds the package, use the verified installer download. Once accepted, the catalog supports winget install --id PushmanHQ.Pushman --exact --scope user, winget upgrade --id PushmanHQ.Pushman --exact, and winget uninstall --id PushmanHQ.Pushman --exact.
Go 1.27 or newer can install the latest tagged version from source:
go install github.com/pushmanhq/pushman-cli/cmd/pushman@latest
pushman versionThe canonical Go module moved to github.com/pushmanhq/pushman-cli before v1.0. Existing version-pinned installs from the former owner continue to resolve through GitHub's repository redirect, but new installs and upgrades should use the command above.
The binary is normally written to GOBIN, or to the bin directory under GOPATH when GOBIN is empty. Add that directory to PATH if the shell cannot find pushman.
Update by running the same go install command. Before deleting a Go-installed binary, run pushman logout if you also want to revoke the authorization.
The GitHub Releases page provides prebuilt archives for macOS, Linux, and Windows on arm64 and x86_64, with checksums.txt. Verify GitHub build provenance for the archive you selected as well; an older release without verifiable provenance does not pass this installation method.
Download the archive for the machine together with checksums.txt, then verify both before extracting it:
release_asset=pushman_<version>_<platform>_<arch>.<archive>
awk -v name="$release_asset" '$2 == name' checksums.txt | shasum -a 256 -c -
gh attestation verify "$release_asset" -R pushmanhq/pushman-cliMove the extracted pushman or pushman.exe into a directory already on PATH. The archive does not modify shell startup files or require administrator access.
Use PowerShell 7 for the examples below. Select the release tag and the architecture that matches Windows: x86_64 for x64, or arm64 for Windows on ARM. There is no 32-bit Windows archive. Native Windows is a CLI/MCP sender to an iPhone; it does not install a Windows notification receiver.
Install the GitHub CLI first and confirm gh --version works. Download and validate an archive before extracting or running it:
$ErrorActionPreference = 'Stop'
$tag = 'v0.4.2' # Replace with the release you selected.
$arch = 'x86_64' # Use 'arm64' on Windows ARM64.
$version = $tag.Substring(1)
$asset = "pushman_${version}_windows_${arch}.zip"
$downloadDir = Join-Path $env:TEMP ('pushman-download-' + [guid]::NewGuid())
New-Item -ItemType Directory -Path $downloadDir | Out-Null
gh release download $tag -R pushmanhq/pushman-cli --pattern $asset --pattern checksums.txt --dir $downloadDir
if ($LASTEXITCODE -ne 0) { throw 'Download failed' }
$archive = Join-Path $downloadDir $asset
$pattern = '^([0-9a-fA-F]{64})\s+\*?' + [regex]::Escape($asset) + '$'
$entries = @(Get-Content -LiteralPath (Join-Path $downloadDir 'checksums.txt') |
Where-Object { $_ -match $pattern })
if ($entries.Count -ne 1) { throw 'Expected exactly one matching checksum' }
$expected = ($entries[0] -split '\s+')[0]
$actual = (Get-FileHash -LiteralPath $archive -Algorithm SHA256).Hash
if ($expected -ne $actual) { throw 'Checksum mismatch' }
gh attestation verify $archive -R pushmanhq/pushman-cli
if ($LASTEXITCODE -ne 0) { throw 'Provenance verification failed' }
Expand-Archive -LiteralPath $archive -DestinationPath (Join-Path $downloadDir 'extracted')
$installDir = Join-Path $env:LOCALAPPDATA 'Programs\Pushman'
$executable = Join-Path $installDir 'pushman.exe'
if (Test-Path -LiteralPath $executable) { throw 'An installation exists; follow the update steps below' }
New-Item -ItemType Directory -Force -Path $installDir | Out-Null
Copy-Item -LiteralPath (Join-Path $downloadDir 'extracted\pushman.exe') -Destination $executable
$env:Path = "$installDir;$env:Path"
Get-Command pushman.exe -All | Select-Object Source
& $executable version
if ($LASTEXITCODE -ne 0) { throw 'Version check failed' }The PATH change above applies only to this terminal. Optionally add the same directory to the user PATH for future terminals:
$userPath = [Environment]::GetEnvironmentVariable('Path', 'User')
$parts = @($userPath -split ';' | Where-Object { -not [string]::IsNullOrWhiteSpace($_) })
if ($parts -notcontains $installDir) {
[Environment]::SetEnvironmentVariable('Path', (($parts + $installDir) -join ';'), 'User')
}Open a new terminal and restart desktop MCP clients afterward. Get-Command pushman.exe -All identifies older or shadowing executables; use the intended absolute path if another installation wins. These steps do not require elevation or change the machine PATH. Checksums and GitHub provenance are separate from Windows Authenticode signing.
For a ZIP installation, close running CLI commands and have MCP clients stop their Pushman subprocesses. Download the replacement ZIP into a new directory and repeat the checksum/provenance checks above. Keep the previous verified pushman.exe outside the installation directory, replace the installed executable with the newly verified one, then check its absolute-path version and help. If the new version cannot run, stop its processes and restore that previous verified executable. Windows does not allow replacing an executable while it is running.
A Go installation updates with the original go install command. Windows pushman self-update deliberately refuses these installations; use the original installer or installation method. See Windows installer for installer updates and WinGet for catalog availability. Scoop and MSI are not offered.
Keep a rollback binary only from an archive that passed both verification steps. Do not substitute a historical archive merely because its checksum matches if its provenance cannot be verified under pushmanhq/pushman-cli.
If you want to revoke this CLI's authorization, run pushman logout before deleting its executable. Logout contacts the service and removes the local credential after revocation succeeds. A failed logout is not confirmation of revocation. Then remove only the installed pushman.exe and its own user PATH entry, if added. Deleting the executable alone retains authorization and its credential-store entry; reinstalling can use it again.
PowerShell 7 uses UTF-8 for native pipelines. In a Windows PowerShell 5.1 console, align $OutputEncoding and [Console]::InputEncoding to BOM-free UTF-8 for the operation, then restore both. Setting only $OutputEncoding produced an additional UTF-8 BOM on the Windows CI images, which Pushman correctly retains as body content:
$previousOutputEncoding = $OutputEncoding
$previousInputEncoding = [Console]::InputEncoding
try {
[Console]::InputEncoding = [System.Text.UTF8Encoding]::new($false)
$OutputEncoding = [System.Text.UTF8Encoding]::new($false)
'Example notification 한글 😀 "quotes" $dollar & ampersand' | pushman.exe push - --json
if ($LASTEXITCODE -ne 0) { throw 'Pushman failed' }
} finally {
$OutputEncoding = $previousOutputEncoding
[Console]::InputEncoding = $previousInputEncoding
}This example requires a console. For hosts without one, use PowerShell 7 or pass a UTF-8 file through cmd.exe as below. Do not put these settings in a profile or change the system code page. Run a send example only when you intend to send that notification after authorization. Piping the body also avoids legacy native-argument quoting differences for embedded quotes. Quote URL arguments containing &, and use single-quoted PowerShell literals when dollar signs/backticks should remain literal.
For cmd.exe, write a UTF-8 body file without a BOM and redirect its bytes:
pushman.exe push - --json < body.txtWindows PowerShell 5.1 > and Out-File normally create UTF-16LE files, and -Encoding UTF8 adds a BOM. To create a BOM-free UTF-8 body file in either PowerShell version, use [IO.File]::WriteAllText('body.txt', $body, [Text.UTF8Encoding]::new($false)). A UTF-8 BOM is retained as body content; it is not an encoding guess or silently removed. Invalid UTF-8 is rejected. Pushman removes exactly one terminal LF/CRLF and preserves internal newlines. See Microsoft's encoding reference.
Credential Manager entries belong to the execution identity and logon session. An elevated/different user, SSH, CI, or Task Scheduler session may not see a desktop login. Use login --no-browser where browser launch is unavailable. Callers can inject a process-scoped PUSHMAN_TOKEN for send-only automation; it does not grant MCP read access or replace account authorization. Do not put a token in MCP JSON, command arguments, setx, or a plaintext token file.
Windows verification records automated coverage and the remaining user-session, desktop-host, and release checks.
Claude Code can choose a supported method, verify the installed version, and walk through login:
claude "Install Pushman CLI from https://github.com/pushmanhq/pushman-cli using the safest supported method for this machine, verify it, then guide me through login. Ask before sending a test notification."Review and approve each proposed command. The agent should not need a Pushman token, Apple credential, Google credential, or Keychain export. Browser login keeps provider credentials in the provider page; app pairing still requires approval from the signed-in Pushman iPhone app.
After installation:
pushman version
pushman login
pushman statuspushman login --no-browser prints a code and URL without launching a browser, which is useful over SSH. pushman pair remains available when you prefer approval in the signed-in iPhone app. Both methods create the same account-scoped CLI authorization.
Run pushman doctor if authorization, local credential storage, or service connectivity fails. Never paste a CLI credential, PUSHMAN_TOKEN, OAuth assertion, or unredacted diagnostic output into an issue or agent conversation. Follow SECURITY.md for suspected vulnerabilities and SUPPORT.md for bug-report guidance.
Windows release builds and portability CI are already configured. The Windows support plan tracks remaining shell, credential, MCP, packaging, and validation work; it does not change current installation or update behavior.