jf config edit

Edit an existing server configuration interactively. The CLI opens prompts to update the URL, credentials, or other settings for the specified server.

Synopsis

jf config edit <server-id>

Aliases: none

Arguments

ArgumentRequiredDescription
server-idYesThe server ID to edit

Examples

Edit a Server Configuration

Run the command and follow the interactive prompts to update URL, credentials, or other settings:

jf config edit <server-id>

When to Use

Use jf config edit when you need to change one or two fields in an existing server configuration (for example, rotating a token or updating a URL after a domain change). For non-interactive environments (CI/CD), use jf config add --overwrite instead.

Shortcut: If you only need to update the access token, it's faster to re-run jf config add <server-id> --url=<same-url> --access-token=<new-token> --interactive=false --overwrite than to step through all the interactive prompts.

Important Notes

  • This command is interactive only — it always opens prompts. It cannot be used in CI/CD pipelines or scripts.
  • Editing does not change the server ID. To rename a server, remove it and add a new one.
  • If you have JFROG_CLI_ENCRYPTION_KEY set, edited credentials are re-encrypted with the same key.

What’s Next

After editing, verify your changes with jf config show.