jfrog
Official CLI for the JFrog Platform
TLDR
SYNOPSIS
jfrog command [subcommand] [options] [arguments]
DESCRIPTION
jfrog is the official CLI for the JFrog Platform. It provides unified command-line access to Artifactory, Xray, Distribution, Pipelines, and other JFrog services.
The tool manages binary artifacts across all major package types including Maven, npm, PyPI, Docker, Go, NuGet, and generic files. It integrates with CI/CD pipelines for build-info collection, promotion, and security scanning. The CLI supports file specs (JSON-based query syntax) for advanced artifact operations.
The jfrog executable has been renamed to jf in recent versions, though the jfrog name continues to work as an alias.
PARAMETERS
config
Manage server configurations (add, edit, remove, show, export, import).rt
Artifactory commands (upload, download, search, delete, copy, move, build-publish, etc.).xr
Xray commands for security scanning and vulnerability management.audit
Scan project dependencies for security vulnerabilities and license compliance.docker
Docker registry integration (push and pull via Artifactory).npm, pip, go, maven, gradle, nuget
Package manager integrations with build-info collection.--url URL
JFrog Platform URL.--access-token TOKEN
Access token for authentication.--user USER
Username for authentication.--password PASSWORD
Password for authentication.--server-id ID
Use a specific configured server.--help
Display help information for a command.
CAVEATS
Requires a JFrog server (self-hosted or SaaS). Enterprise features such as Xray scanning require appropriate licensing. Server configuration is stored locally per user and must be set up before use with jfrog config add.
HISTORY
JFrog CLI was created by JFrog to provide unified command-line access to their artifact management platform. The CLI executable was renamed from jfrog to jf starting in 2022, though both names remain functional.

