LinuxCommandLibrary

jfrog

Manage and deploy artifacts using JFrog Artifactory

TLDR

View documentation for the original command

$ tldr jf
copy

SYNOPSIS

jfrog [global-options] <product> [<command> [<args>]]

PARAMETERS

-h, --help
    Display help for the command

-v, --version
    Show JFrog CLI version

-q, --quiet
    Suppress output printing

--no-progress
    Do not display progress bar

--timestamp
    Prepend timestamp to log lines

--log-dir <DIR>
    Folder to save CLI logs

--insecure-tls
    Skip TLS certificate verification

config
    Configure JFrog CLI connection details

rt
    Artifactory commands (upload, download, build, etc.)

xr
    Xray commands (scan, publish reports, watch)

mc
    Mission Control commands (service, instance)

ds
    Distribution commands (publish, distribute)

access
    Manage access tokens and certificates

pi
    Platform Interface commands

DESCRIPTION

The jfrog command is the official command-line interface (CLI) for JFrog's ecosystem, including Artifactory (universal artifact repository), Xray (security scanning), Mission Control, Distribution, and more.

It enables automation of build-to-production workflows, such as uploading/downloading artifacts, resolving dependencies, promoting builds, scanning for vulnerabilities, and replicating packages across sites.

Designed for CI/CD pipelines, it integrates seamlessly with tools like Jenkins, GitHub Actions, Maven, Gradle, Docker, npm, NuGet, PyPI, and others.

Key advantages include parallel uploads/downloads with checksum verification, build-info collection for traceability, and support for SaaS or self-hosted instances.

The CLI is lightweight, written in Go (v2), and supports advanced features like AQL queries, property metadata, and fan-out replication.

Configuration is straightforward via jfrog config, using access tokens or credentials for secure authentication.

Ideal for DevOps teams managing binaries, containers, and packages at scale.

CAVEATS

Requires prior configuration with jfrog config. Some features need Pro/Enterprise licenses. Binary installation varies by OS/architecture.

INSTALLATION

curl -fL https://install-cli.jfrog.io | sh
Or download binaries from releases.jfrog.io/jfrog-cli

QUICK START

jfrog rt config to setup.
jfrog rt u file.zip repo/ to upload.

HISTORY

Developed by JFrog; Bash-based v1 (2016), rewritten in Go as compact v2 (2019) for performance. Actively maintained with frequent releases aligning to JFrog Platform versions.

SEE ALSO

curl(1), wget(1), docker(1)

Copied to clipboard