GPL-2.0-only licensed and maintained by Jens Petersen
This version can be pinned in stack with:pagure-cli-0.2.2@sha256:1cbb488de198f7f0c391ee2f2c2ae32fd0ea499219acd69927adea7403beb967,1794

Module documentation for 0.2.2

There are no documented modules for this package.


Hackage GPL-2 license Stackage Lts Stackage Nightly

A pagure gitforge client for querying and listing projects (repos), users, groups, and issues.


By default it uses the Pagure server instance (aka Fedora dist-git), but this can be overriden by the --server option.

List/search for repos

$ pagure list rac\*


Note by default ‘orphan’ owned packages are excluded.

One can also filter by owner or committer.

List user’s projects

Count projects of a user:

$ pagure user --server --count mattdm


List groups:

$ pagure groups

List group packages

$ pagure group budgie-sig


$ pagure group -c rust-sig



$ pagure --version


$ pagure --help

Pagure client

Usage: pagure [--version] COMMAND

  Simple pagure CLI

Available options:
  -h,--help                Show this help text
  --version                Show version

Available commands:
  list                     list projects
  user                     list user repos
  group                    list group repos
  project                  show project details
  branches                 list project branches
  git-url                  show project repo's git urls
  issues                   list project issues
  issue                    show project issue
  users                    list users
  username                 fullname of user
  userinfo                 show user details
  groups                   list groups
  groupinfo                show group details

Use --help to get help on individual commands:


pagure-cli is packaged in Fedora and EPEL 9:

Build from source

To build the latest release you will need cabal-install and ghc, or stack:

stack install pagure-cli or cabal install pagure-cli.

Or to build from the git source, run the commands without the package name.


Pagure rest API can be found on pagure servers: eg There are still many unsupported commands and options. Please open a ticket or PR to request adding more at

Also part of this client uses the simple pagure-hs bindings.

Other pagure clients

After writing the initial version I discovered that Ricky Elrod (relrod) had made

There is a library client in Rust by decathorpe.



0.2.2 (2024-05-06)

  • new add group and groupinfo commands
  • help: order commands with better grouping
  • update to Haskell pagure-0.2.0

0.2.1 (2022-02-17)

  • new commands: ‘project’, ‘issue’, ‘userinfo’
  • drop –url and use aeson-pretty
  • use new pagure library
  • ‘user’: new ’–fork” option
  • support aeson-2.0 and drop lens dependency
  • ‘branches’ and ‘username’ now error if entity does not exist
  • errors for non-existent API paths (eg unknown repo or user)

0.2 (2020-04-06)

  • new commands: ‘branches’, ‘issues’, ‘users’, ‘username’, ‘groups’, ‘git-url’
  • ‘list’: new options –namespace, –username, –include-forks, –only-forks
  • switch to http-conduit and default to lens instead of microlens for aeson
  • -U is now the short option for –url, which displays the API url

0.1 (2019-12-11)

  • initial release with list and user commands