JFrog CLI
Website • Docs • Issues • Blog • We're Hiring • Artifactory Free Trial
Please migrate to
jfrog-cli-v2-jf.This package (
jfrog-cli-v2) installs the CLI under thejfrogexecutable name. The actively maintained package,jfrog-cli-v2-jf, installs the very same CLI but under the shorterjfexecutable name, which is now the standard across JFrog's documentation, examples, and CI/CD integrations.What this means for you:
- The command you type changes from
jfrog ...tojf ...— update your scripts, pipelines, aliases, and shell completions accordingly.- Both executables share the same configuration, so your existing servers and settings continue to work.
- You can install both side by side during the transition, but to avoid confusion we recommend switching fully to
jf.To migrate:
npm uninstall -g jfrog-cli-v2 npm install -g jfrog-cli-v2-jf
Overview
JFrog CLI is a compact and smart client that provides a simple interface that automates access to Artifactory, Xray, Distribution, Pipelines and Mission Control through their respective REST APIs. By using the JFrog CLI, you can greatly simplify your automation scripts making them more readable and easier to maintain. Several features of the JFrog CLI makes your scripts more efficient and reliable.
Requirements
npm version 5.0.0 or above.
Install with npm:
npm install -g jfrog-cli-v2
# When running as root user:
npm install -g -unsafe-perm jfrog-cli-v2