# Install jenkins-cli with Homebrew, MacPorts, Nix, scoop

CLI for jenkins. Version 0.0.47 via Homebrew; verified 2026-06-13.

## Install

```sh
sudo av install brew:jenkins-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install jenkins-cli
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install jenkins-cli
```

  Evidence: MacPorts ports tree: devel/jenkins-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#jcli
```

  Evidence: nixpkgs package indexes: pkgs/by-name/jc/jcli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/jcli
```

  Evidence: Scoop official bucket manifest trees: bucket/jcli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:jenkins-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/jenkins-cli>
- **Version:** 0.0.47
- **Source summary:** CLI for jenkins
- **Homepage:** <https://github.com/jenkins-zh/jenkins-cli>
- **Repository:** <https://github.com/jenkins-zh/jenkins-cli>
- **Upstream docs:** <https://github.com/jenkins-zh/jenkins-cli#readme>
- **License:** MIT
- **Source archive:** <https://github.com/jenkins-zh/jenkins-cli/archive/refs/tags/v0.0.47.tar.gz>
- **Last updated:** 2026-06-13T23:35:00+02:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- jcli (cli)
- jcli (alias)

## Build dependencies

- go

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.0.47
- Package-manager updated: 2026-06-13
- Local data: ok
- Upstream repository: https://github.com/jenkins-zh/jenkins-cli
- Upstream latest detected: v0.0.47 (current)
## Project history and usage

jenkins-cli in Homebrew is jcli, a Go command-line client from the Jenkins Chinese community for managing Jenkins servers without using the Java jenkins-cli.jar workflow for every command.

### Project history

A Jenkins project blog post in 2019 explains the motivation: Jenkins already had a built-in CLI, but the Java invocation was wordy, required a JRE, and was awkward for users expecting a native command. jcli was created as a Go-based CLI that runs natively on common desktop and server platforms.

The GitHub repository was created in June 2019 and its early release stream began with v0.0.5 that same month. The README presents the tool as useful for plugin developers, administrators, and regular Jenkins users.

### Adoption history

jcli's adoption niche is convenience packaging. The project documentation advertises Homebrew, MacPorts, Linux tarballs, Scoop, and Chocolatey-style installation paths, which turns Jenkins administration into a normal package-manager install instead of a controller-provided jar download.

### How it is used

The tool focuses on multiple Jenkins server profiles, plugin listing and installation, job search/build/log operations, Configuration as Code support, browser opening, restart commands, and proxy-aware connections. Its config file stores server URL, username, token, and proxy settings so users can switch between Jenkins instances.

### Why package nerds care

This formula matters because it packages a third-party Jenkins client under a name that can be confused with Jenkins' built-in CLI. Package users get a native `jcli` binary, not the upstream Jenkins `jenkins-cli.jar`, so the history helps distinguish the Go client from the automation server's own command interface.

### Timeline

- 2019: the jenkins-zh/jenkins-cli repository was created in June.
- 2019: v0.0.5 was published on June 22 as an early GitHub release.
- 2019: the Jenkins project blog described jcli as a Go-native alternative for managing Jenkins from the command line.

### Related projects

- Jenkins' built-in CLI is the direct comparison point and remains distributed by Jenkins controllers as jenkins-cli.jar.
- Configuration as Code is a related Jenkins administration workflow supported by jcli commands.
- The jenkins-zh documentation and plugin repositories form the surrounding project family for jcli.

### Sources

- <https://github.com/jenkins-zh/jenkins-cli>
- <https://github.com/jenkins-zh/jenkins-cli/releases>
- <https://www.jenkins.io/blog/2019/08/30/jenkins-cli/>
- <https://www.jenkins.io/doc/book/managing/cli/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## 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: ~/.jenkins-cli.yaml

## Credential files

- Unix: ~/.jenkins-cli.yaml
## Source Database Details

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

- MacPorts - jenkins-cli: normalized package name match | MacPorts ports tree: devel/jenkins-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - jcli: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/jc/jcli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/jcli: installed executable or alias match | Scoop official bucket manifest trees: bucket/jcli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [jenkins](https://www.automicvault.com/pkg/brew/jenkins/) - Package name indicates the same formula family.
- [gabo](https://www.automicvault.com/pkg/brew/gabo/) - Shares av.db curated category or tags: ci-cd, cli, developer-tools, go.
- [gama](https://www.automicvault.com/pkg/brew/gama/) - Shares av.db curated category or tags: ci-cd, cli, developer-tools, go.
- [jenkins-job-builder](https://www.automicvault.com/pkg/brew/jenkins-job-builder/) - Shares av.db curated category or tags: ci-cd, cli, developer-tools, jenkins.
- [jenkins-lts](https://www.automicvault.com/pkg/brew/jenkins-lts/) - Shares av.db curated category or tags: ci-cd, cli, developer-tools, jenkins.
- [act](https://www.automicvault.com/pkg/brew/act/) - Shares av.db curated category or tags: ci-cd, cli, developer-tools.
- [brigade-cli](https://www.automicvault.com/pkg/brew/brigade-cli/) - Shares av.db curated category or tags: ci-cd, cli, developer-tools.
- [circleci](https://www.automicvault.com/pkg/brew/circleci/) - Shares av.db curated category or tags: ci-cd, cli, developer-tools.

## Combined YAML source

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