JFrog CLI Command Reference

Look up JFrog CLI commands, flags, and syntax by product area, from Artifactory to Xray.


JFrog CLI Documentation by Product Area

These sections provide deeper guidance on using JFrog CLI with specific JFrog products and platform capabilities.



--format flag (JFrog CLI 2.105.0+)

Many commands accept --format json or --format table for machine-readable or tabular output. Most commands support both values. Some are json-only. Per-command details are in the relevant tabs below.

When the flag is omitted, output stays backward-compatible (or silent on json-only commands). Json-only commands emit a status payload instead of structured data:

{"status_code": N, "message": "..."}

The flag requires a value. Passing --format without a value prints:

Incorrect Usage: flag needs an argument: -format

Passing an unsupported value (for example --format yaml) prints:

[Error] only the following output formats are supported: json, table

On json-only commands, the supported-formats message lists json only.


Quick Start

# Install JFrog CLI
curl -fL https://install-cli.jfrog.io | sh

# Initial login (interactive, opens browser)
jf login

# Or configure manually
jf config add my-server --url=https://mycompany.jfrog.io --user=admin --password=password

# Verify connection
jf rt ping

Command Summary

CategoryPrefixCommands
Configurationjf c7
Generaljf8
Artifactoryjf rtMany
Build Toolsjf mvn, jf npm, and others28
Security/Xrayjf audit, jf scan4
Distributionjf ds, jf rbc10
Evidencejf evd2
Pluginsjf plugin3
Agent Skillsjf agent skills6

What’s Next

Ready to build? Set up your package manager with Artifactory.

Did this page help you?