LinuxCommandLibrary

jf

JFrog CLI for interacting with JFrog platform services

TLDR

Configure Artifactory
$ jf config add
copy
Upload artifact
$ jf rt u [file.jar] [repo/path/]
copy
Download artifact
$ jf rt dl [repo/path/file.jar]
copy
Search artifacts
$ jf rt s [repo/] --include-dirs
copy
Build publish
$ jf rt bp [build-name] [build-number]
copy
Docker push
$ jf docker push [image:tag] [repo]
copy
Run Xray scan on a build
$ jf xr scan --watches "[watch_name]"
copy
Show server configuration
$ jf config show
copy

SYNOPSIS

jf command [options]

DESCRIPTION

jf is the JFrog CLI for interacting with JFrog platform services including Artifactory, Xray, Distribution, and Pipelines. It manages artifact upload/download, build info collection, security scanning, and CI/CD integration.
The tool supports all major package types (Maven, npm, Docker, Go, Python, NuGet, etc.) and provides both interactive and automation-friendly interfaces. The `rt` subcommand prefix targets Artifactory operations specifically.

PARAMETERS

config CMD

Configure server connections.
rt CMD
Artifactory commands.
docker CMD
Docker registry commands.
npm CMD
npm registry commands.
pip CMD
Python registry commands.
xr CMD
Xray security scanning commands.
go CMD
Go registry commands.
--server-id ID
Server ID from configured servers.
--help
Display help information.

CAVEATS

Alias for jfrog CLI. Requires server configuration. Enterprise features may need license.

HISTORY

jf is the short alias for the JFrog CLI, introduced to simplify command-line usage of JFrog platform services.

SEE ALSO

jfrog(1), docker(1), npm(1), mvn(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard