All apps/JFrog CLI

JFrog CLI

jfrog-cli

JFrog CLI is a command-line interface for JFrog products and services.

Runs as jf|macOS, Linux, Windows|docs.jfrog.com

Command form

ai-draft · 3 tasks · 4 fields

Configure and select JFrog servers and ping Artifactory. Access tokens and passwords are deliberately not fields; add credentials interactively.

Opens the form; the finished command lands at your prompt, unrun
otty gui jfrog-cli

jf config add

Add a server

Save a JFrog Platform server configuration. Leave interactive on so the CLI prompts for credentials.

Add a serverExample values, fixed in this page — nothing here reaches a terminal
Basic
Server ID*
string
Platform URL
url
TasksEach one presets the form for one job
Add a server
server_idurl
ParametersOnly these flags are editable in the form
Server ID
string · positional 0
Platform URL
url
--url

jf config use

Select the default server

Make a saved server the default for later commands.

Select the default serverExample values, fixed in this page — nothing here reaches a terminal
Basic
Server ID*
string
TasksEach one presets the form for one job
Use server
server_id
ParametersOnly these flags are editable in the form
Server ID
string · positional 0

jf rt ping

Ping Artifactory

Check that a configured Artifactory server responds.

Ping ArtifactoryExample values, fixed in this page — nothing here reaches a terminal
Basic
Server ID
string
TasksEach one presets the form for one job
Ping
server_id
ParametersOnly these flags are editable in the form
Server ID
Uses the default server when empty.
string
--server-id
SourcesEvery flag above is checked against these
docs
jf config add myserver --url=https://mycompany.jfrog.io --access-token=<your-access-token> --interactive=false
manual2026-10-27

docs.jfrog.com

docs
jf config use myserver jf config use <server-id>
manual2026-10-27

docs.jfrog.com

docs
jf rt ping jf rt ping --server-id=dev-server
manual2026-10-27

docs.jfrog.com

Before it fills your prompt, Otty checks the installed jf against its version. A form that does not match your version is not offered.