aboutsummaryrefslogtreecommitdiff
path: root/docs/luarocks_show.md
blob: 353935c5042076637fe3566365eea1a7dffb64c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# luarocks show

Shows information about an installed rock.

## Usage

`luarocks show <name> [<version>]`

`<name>` is an installed package name.
Without any flags, show all module information.
With these flags, return only the desired information:

* `--home` - home page of project
* `--modules` - all modules provided by this package as used by `require()`
* `--deps` - packages this package depends on, including indirect dependencies
* `--rockspec` - the full path of the rockspec file
* `--mversion` - the package version
* `--rock-tree` - local tree where rock is installed
* `--rock-dir` - data directory of the installed rock

## Example

```
luarocks show luasocket
```