jfrog-setup-package-managers

Configure package managers to resolve dependencies through JFrog Artifactory via jf setup.

1|Updated Aug 3, 2026
One-click install
npx skills add https://github.com/jfrog/jetbrains-plugin --skill jfrog-setup-package-managers-jfrog
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: jfrog-setup-package-managers
Source: https://github.com/jfrog/jetbrains-plugin/tree/main/.junie/skills/jfrog-setup-package-managers
Command: npx skills add https://github.com/jfrog/jetbrains-plugin --skill jfrog-setup-package-managers-jfrog

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, and includes scripts (resource) and references (resource) components.

What problem does it solve? Connecting local package managers (npm, pip, uv, maven, gradle, go, docker, helm, and others) to JFrog Artifactory requires manual config edits and repo selection, which is error-prone and inconsistent across projects. This Skill automates the binding workflow using jf setup and persists the decision so later sessions re-apply it automatically. ## Core Features & Use Cases - Automated package-manager binding: Detects which package managers a workspace uses from manifests (package.json, uv.lock, pom.xml, go.mod, Dockerfile, and more), then runs jf setup <pm> --server-id <SID> --repo <repoKey> for each. - Resolver-driven repo selection: Reads the session hook's resolved repo table, workspace binding, or global cache instead of guessing repositories, and asks the user verbatim when resolution fails. - Persistent workspace binding: Merges each successful setup into .jfrog/local/package-resolution.json via a lock-safe shell script, never storing credentials. - Use Case: A developer opens a Python project with uv.lock and no Artifactory config; the Skill detects uv, applies the resolved PyPI repo key, runs jf setup uv, and records the binding so the next session starts ready. ## Quick Start Set up my package managers to resolve through JFrog Artifactory and persist the workspace binding.

Frequently Asked Questions about jfrog-setup-package-managers

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I connect npm or pip to JFrog Artifactory?▼

Run jf setup with the package manager name, server ID, and repo key, for example jf setup npm --server-id <SID> --repo <repoKey>. The Skill detects your package managers from workspace manifests, applies the resolver's repo key, and persists the binding for future sessions.

Which package managers does jf setup support?▼

The supported list drifts across JFrog CLI versions, so always parse it from jf setup --help rather than hardcoding. Commonly supported managers include npm, pnpm, pip, uv, pipenv, maven, gradle, go, docker, podman, helm, and nuget.

Does jf setup overwrite my existing package manager config?▼

Yes, jf setup overwrites package-manager-native config files like .npmrc, pip.conf, and uv.toml without backup. The Skill skips package managers already bound to the same repo key and asks for confirmation before the first jf setup in a session.

Why does jf setup fail with repository not found?▼

This error means the repo key is wrong, has the wrong package type, or lacks permissions. The Skill stops, shows the CLI output verbatim, and asks for an alternate repo key, capped at two answers per package manager before aborting.

Can I use this for gradle and maven projects?▼

Yes, and gradle is bound under its own Artifactory package type gradle, never folded under maven. Both are exempt from the binary gate because jf setup only writes config files, so no local client binary is required.

Where are Artifactory credentials stored after setup?▼

Credentials live in jf config and in the package-manager-native files written by jf setup itself. The workspace binding file .jfrog/local/package-resolution.json records only repo decisions and must never contain tokens.