# luarocks download Download a specific rock or rockspec file from a rocks server. ## Usage `luarocks download [--all] [--arch= | --source | --rockspec] [ []]` If `--all` is passed, all matching files are downloaded, and `` 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 ```