blob: 1a3597abbd37a30540f369ce3c8898cb8b2863a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# luarocks download
Download a specific rock or rockspec file from a rocks server.
## Usage
`luarocks download [--all] [--arch=<arch> | --source | --rockspec] [<name> [<version>]]`
If `--all` is passed, all matching files are downloaded, and `<name>` argument
becomes optional. `--arch`, `--source` and `--rockspec` options select file
type.
## Example
Download rockspec for the latest version of a rock:
```
luarocks download --rockspec lpeg
```
|