4 Installation
Ankit edited this page 2023-08-19 09:59:41 +02:00

jira-cli is available as a downloadable binary for Linux, macOS, and Windows from the releases page.

Available Options

Docker

You can use the available docker image to run jira-cli inside a docker container.

docker run -it --rm ghcr.io/ankitpokhrel/jira-cli:latest

Homebrew

Maintainer: @ankitpokhrel

You can use Homebrew tap in macOS to install jira-cli.

brew tap ankitpokhrel/jira-cli
brew install jira-cli

FreeBSD

Maintainer: @fraggerfox

You can install it from the ports tree using the following command

cd /usr/ports/www/jira-cli/ && make install clean

or directly from the binary package repository using the command

pkg install jira-cli

NetBSD

Maintainer: @fraggerfox

You can install it from pkgsrc using the following command

cd /usr/pkgsrc/www/jira-cli/ && make install clean

or directly from the binary package repository using the command

pkgin install jira-cli

Nix

Maintainer: @bryanasdev000 and @anthonyroussel

You can use Nix to run jira-cli.

nix-shell -p jira-cli-go

You can also use Nix to imperatively install jira-cli.

nix-env -f '<nixpkgs>' -iA jira-cli-go

Alternatively, you can install it the declarative way in NixOS with environment.systemPackages/users.users.<name>.packages or with Home Manager in any Linux distro with home.packages.

Scoop (Windows)

You can use Scoop to install jira-cli. First, Install Scoop via Powershell, then install jira-cli:

scoop bucket add extras
scoop install jira-cli

Manual

You can also install the runnable binary to your $GOPATH/bin (go1.16+).

go install github.com/ankitpokhrel/jira-cli/cmd/jira@latest