CLI
What this solves
You want to work with Forgejo from a terminal and need to know whether fj covers daily development work.
A Forgejo command line should feel native to the forge, not like an adapter around another platform.
CLI
You want to work with Forgejo from a terminal and need to know whether fj covers daily development work.
The useful starting point is the daily loop: authenticate once, let the CLI infer the repository from the git remote, then inspect issues, pull requests, checks, and releases without leaving the shell. For automation, prefer structured output so scripts depend on fields rather than terminal formatting.
fj auth login --host forge.example.com
fj pr list
fj pr view 42
fj run list --repo org/project
fj api repos/org/project/releasesUse least-privilege tokens for scripted jobs.
Keep interactive commands separate from automation that expects stable output.
Document hostnames when your team uses more than one Forgejo instance.
Moving off gh? Map the GitHub CLI commands your team runs every day onto fj, so daily repository work still feels familiar after the switch to Forgejo.
Use fj as your CLI for Gitea and Forgejo-compatible hosts: check what your host supports, then run issues, pull requests, and releases from the terminal.
Automate Forgejo with fj, Actions, and API calls: schedule routine jobs, wire repository hooks, handle secrets, and cut releases without touching the UI.