HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/help/cleanup.md
## Usage:

    rvm cleanup {all,archives,checksums,repos,sources,logs,gemsets,links}

## Description:

Cleans up the directory tree for the specified item.
For gemsets removes only those without matching ruby.

Useful for reclaiming used disk space from rvm compiles.

## Examples:

To reclaim all of the space used by archives, repository clones,
source files (and associated temporary compile file) and logs, you'd
run:

    $ rvm cleanup all

If instead you only wanted to clean up source files, you'd run:

    $ rvm cleanup sources

Please note that sometimes having archives and sources around are desirable.
Namely, you need the sources to install something such as ruby-debug under 1.9.