---
name: "bundle-clean"
section: "1"
platform: "macos"
package: "ruby"
version: "175"
release: "macOS 26.5"
platforms: ["linux", "macos"]
url: "https://new.carta.tech/bundle-clean"
---

# bundle-clean(1)

Cleans up unused gems in your bundler directory

## NAME

**bundle-clean** - Cleans up unused gems in your bundler directory

## SYNOPSIS

**bundle clean** \[--dry-run\] \[--force\]

## DESCRIPTION

This command will remove all unused gems in your bundler directory. This is useful when you have made many changes to your gem dependencies.

## OPTIONS

- **--dry-run**

  Print the changes, but do not clean the unused gems.

- **--force**

  Force a clean even if **--path** is not set.
