General Commands
General commands handle authentication, tokens, statistics, and CLI configuration. You use these commands to log in, create tokens, and inspect environment options. This page links to each command and related procedures so you can jump straight to the task you need.
Tasks in this section
- Log in to the JFrog Platform in a browser
- Create an access token
- Exchange an OIDC token for a JFrog access token
- Generate a Markdown summary of recorded CLI commands
- Retrieve product statistics
- List supported environment variables
- Use cURL against Artifactory with stored credentials
- Store symlinks in Artifactory
Overview
| Command | Alias | Description |
|---|---|---|
| jf login | — | Log in to a JFrog Platform via your web browser. Available for Artifactory 7.64.0 and above |
| jf access-token-create | atc | Create an access token. Requires authentication |
| jf exchange-oidc-token | eot | Exchange an OIDC token ID for a JFrog access token |
| jf generate-summary-markdown | gsm | Generate a summary of recorded CLI commands in Markdown. Requires JFROG_CLI_COMMAND_SUMMARY_OUTPUT_DIR |
| jf stats | st | Return statistics for a product on a given server. Requires authentication |
| jf options | — | Show all supported environment variables |
| jf rt curl | rt cl | Execute a cURL command against Artifactory using stored credentials |
| Storing Symlinks in Artifactory | — | Upload and download symlinks via jf rt upload/jf rt download (Linux and macOS only) |
When to Use
- login: Use when you want browser-based authentication without storing credentials manually
- access-token-create: Use to create tokens for CI, scripts, or service accounts
- exchange-oidc-token: Use when authenticating with OIDC providers (GitHub, Azure, generic)
- generate-summary-markdown: Use to produce a Markdown report of CLI usage for documentation or auditing
- stats: Use to inspect product statistics (Artifactory or rt)
- options: Use to discover all environment variables the CLI supports
- rt curl: Use to call Artifactory REST APIs directly from the CLI without managing auth headers manually
- Storing symlinks: Use to persist and restore symbolic links in Artifactory (Linux/macOS only)
Updated 12 days ago
What’s Next
Start by [logging in](/docs/jf-login) to your JFrog Platform instance.
