Your IP : 216.73.216.1


Current Path : /usr/local/rvm/help/
Upload File :
Current 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.