{
    "mode": "man",
    "parameter": "bundle-clean",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/bundle-clean/1/json",
    "generated": "2026-05-30T05:11:44Z",
    "synopsis": "bundle clean [--dry-run] [--force]",
    "sections": {
        "NAME": {
            "content": "bundle-clean - Cleans up unused gems in your bundler directory\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "bundle clean [--dry-run] [--force]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This  command  will remove all unused gems in your bundler directory. This is useful when you\nhave made many changes to your gem dependencies.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "--dry-run",
                    "content": "Print the changes, but do not clean the unused gems.\n",
                    "long": "--dry-run"
                },
                {
                    "name": "--force",
                    "content": "Force a clean even if --path is not set.\n\n\n\n\nDecember 2021                            BUNDLE-CLEAN(1)",
                    "long": "--force"
                }
            ]
        }
    },
    "summary": "bundle-clean - Cleans up unused gems in your bundler directory",
    "flags": [
        {
            "flag": "",
            "long": "--dry-run",
            "arg": null,
            "description": "Print the changes, but do not clean the unused gems."
        },
        {
            "flag": "",
            "long": "--force",
            "arg": null,
            "description": "Force a clean even if --path is not set. December 2021 BUNDLE-CLEAN(1)"
        }
    ],
    "examples": [],
    "see_also": []
}