# bundle-clean - Cleans up unused gems in your bundler directory - man(1) - [phpMan]

[_BUNDLE-CLEAN_(1)](https://www.chedong.com/phpMan.php/man/BUNDLE-CLEAN/1/markdown)                                                                      [_BUNDLE-CLEAN_(1)](https://www.chedong.com/phpMan.php/man/BUNDLE-CLEAN/1/markdown)

## 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
              Forces cleaning up unused gems even if Bundler is configured to use globally installed
              gems. As a consequence, removes all system gems except for the ones in the current ap‐
              plication.


                                             August 2023                             [_BUNDLE-CLEAN_(1)](https://www.chedong.com/phpMan.php/man/BUNDLE-CLEAN/1/markdown)
