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.
Map GitHub CLI workflows to fj when moving daily repository work to Forgejo.
Use fj with Forgejo and Gitea-compatible hosts for terminal-first repository workflows.
Automate Forgejo with fj, Actions, raw API calls, repository hooks, secrets, and release workflows.