aboutsummaryrefslogtreecommitdiff
path: root/docs/luarocks_purge.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/luarocks_purge.md')
-rw-r--r--docs/luarocks_purge.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/luarocks_purge.md b/docs/luarocks_purge.md
new file mode 100644
index 00000000..7fda2565
--- /dev/null
+++ b/docs/luarocks_purge.md
@@ -0,0 +1,22 @@
1# luarocks purge
2
3Remove all installed rocks from a tree.
4
5## Usage
6
7`luarocks purge --tree=<tree> [--old-versions]`
8
9Removes all installed rocks from a given tree. The tree must be provided
10explicitly using `--tree`.
11
12If `--old-versions` is passed, the highest version
13of each rock is kept.
14
15## Example
16
17Deleting all rocks from local tree:
18
19```
20luarocks purge --tree=~/.luarocks
21```
22