---
component: artifact-cache
version: "1.5"
slug: artifact-cache/index
canonical_url: "https://docs.develocity.ai/artifact-cache/1.5/"
title: "Develocity Artifact Cache CLI"
description: "Caches Maven, Gradle, npm, pip, and SonarScanner dependencies and build initialization inputs to Edge nodes, restoring them at CI job start."
keywords:
  - "Artifact Cache"
  - "Setup Cache"
status: current
---

<!-- llms-index: https://docs.develocity.ai/llms.txt -->

# Develocity Artifact Cache CLI

<a id="preamble"></a>

<a id="introduction"></a>

Develocity Artifact Cache CLI caches Maven, Gradle, npm, pip, and SonarScanner dependencies and build tool initialization outputs to Develocity Edge nodes. At the start of each CI job, the CLI restores these inputs from the nearest Edge node. The build proceeds without re-downloading dependencies from the WAN or re-running initialization steps.

<a id="key-capabilities"></a>

## Key Capabilities

*   **Dependency caching**: stores and restores Maven, Gradle, npm, pip, and SonarScanner dependencies from Edge nodes, reducing WAN downloads on CI
    
*   **Setup Cache**: caches Gradle build initialization inputs (compiled build scripts, resolved configurations, `buildSrc`, and included builds) to reduce startup time on cold CI agents
    
*   **CI-platform agnostic**: runs as shell commands in any CI environment
    
*   **Develocity integration**: reports Artifact Cache and Setup Cache metrics to Build Scan® via the Common Custom User Data plugins
    
*   **Edge-native**: uses Develocity Edge nodes as the persistent cache layer, with automatic Edge discovery via access key
    

> [!NOTE]
> Using Artifact Cache requires the Artifact Cache entitlement on your Develocity license. Using Setup Cache requires the Setup Cache entitlement. For questions about license entitlements, contact Develocity support.

<a id="in-this-section"></a>

## In This Section

User Manual

How the CLI works: operation flow, Edge discovery, and observability

*   [How It Works](https://docs.develocity.ai/artifact-cache/1.5/user-manual/)

Concepts

Understand the core objects the CLI works with

*   [Images](https://docs.develocity.ai/artifact-cache/1.5/concepts/images/)
*   [Maven Snapshot Dependencies](https://docs.develocity.ai/artifact-cache/1.5/concepts/maven-snapshots/)

Guides

Step-by-step configuration for common CI platforms

*   [GitHub Actions](https://docs.develocity.ai/artifact-cache/1.5/how-to/configure-github-actions/)
*   [Jenkins](https://docs.develocity.ai/artifact-cache/1.5/how-to/configure-jenkins/)

Reference

System requirements and CLI command reference

*   [Requirements](https://docs.develocity.ai/artifact-cache/1.5/reference/requirements/)
*   [CLI Commands](https://docs.develocity.ai/artifact-cache/1.5/reference/cli-commands/)