1135
|
1
|
|
2 LuaRocks 2.0.12, a module deployment system for Lua
|
|
3
|
|
4 NAME
|
|
5 luarocks - LuaRocks main command-line interface
|
|
6
|
|
7 SYNOPSIS
|
|
8 luarocks [--from=<server> | --only-from=<server>] [--to=<tree>] [VAR=VALUE]... <command> [<argument>]
|
|
9
|
|
10 GENERAL OPTIONS
|
|
11 These apply to all commands, as appropriate:
|
|
12
|
|
13 --server=<server> Fetch rocks/rockspecs from this server
|
|
14 (takes priority over config file)
|
|
15 --only-server=<server> Fetch rocks/rockspecs from this server only
|
|
16 (overrides any entries in the config file)
|
|
17 --only-sources=<url> Restrict downloads to paths matching the
|
|
18 given URL.
|
|
19 --tree=<tree> Which tree to operate on.
|
|
20 --local Use the tree in the user's home directory.
|
|
21
|
|
22 VARIABLES
|
|
23 Variables from the "variables" table of the configuration file
|
|
24 can be overriden with VAR=VALUE assignments.
|
|
25
|
|
26 COMMANDS
|
|
27 build
|
|
28 Build/compile a rock.
|
|
29 download
|
|
30 Download a specific rock file from a rocks server.
|
|
31 help
|
|
32 Help on commands. Type 'luarocks help <command>' for more.
|
|
33 install
|
|
34 Install a rock.
|
|
35 lint
|
|
36 Check syntax of a rockspec.
|
|
37 list
|
|
38 Lists currently installed rocks.
|
|
39 make
|
|
40 Compile package in current directory using a rockspec.
|
|
41 new_version
|
|
42 Auto-write a rockspec for a new version of a rock.
|
|
43 pack
|
|
44 Create a rock, packing sources or binaries.
|
|
45 path
|
|
46 Return the currently configured package path.
|
|
47 purge
|
|
48 Remove all installed rocks from a tree.
|
|
49 remove
|
|
50 Uninstall a rock.
|
|
51 search
|
|
52 Query the LuaRocks servers.
|
|
53 show
|
|
54 Shows information about an installed rock.
|
|
55 unpack
|
|
56 Unpack the contents of a rock.
|
|
57
|
|
58 CONFIGURATION
|
|
59 System configuration file: /hackenv/etc/luarocks/config.lua (ok)
|
|
60 User configuration file: /tmp/.luarocks/config.lua (not found)
|
|
61
|