1NIMBLE(1) User Manuals NIMBLE(1)
2
3
4
6 nimble - package manager for the Nim programming language.
7
9 nimble command [command-options]
10
12 install [-d, --depsOnly] [pkgname, ...]
13 Install a list of packages (-d switch for only dependencies).
14
15 develop [pkgname, ...]
16 Clone a list of packages for development. Symlinks the cloned pack‐
17 ages or any package in the current working directory.
18
19 check
20 Verify the validity of a package in the current working directory.
21
22 init [pkgname]
23 Initialize a new Nimble project.
24
25 publish
26 Publish a package on nim-lang/packages. The current working direc‐
27 tory needs to be the toplevel directory of the Nimble package.
28
29 uninstall [pkgname, ...]
30 Uninstall a list of packages.
31
32 build
33 Build a package.
34
35 c [options, ...] file.nim
36 Build a file inside a package using C backend.
37
38 cc [options, ...] file.nim
39 Build a file inside a package using C++ backend.
40
41 js [options, ...] file.nim
42 Build a file inside a package using Javascript backend.
43
44 test
45 Compile and execute tests
46
47 doc [options, ...] file.nim
48 Build documentation for a file inside a package.
49
50 doc2 [options, ...] file.nim
51 Build documentation with semantic checking for a file inside a
52 package.
53
54 refresh [url]
55 Refresh the package list. A package list URL can be optionally
56 specified.
57
58 search [--ver] pkg/tag
59 Search for a specified package by tag and by name. With --ver
60 remote server will be asked for package versions.
61
62 list [--ver]
63 List all packages. With --ver remote server will be asked for pack‐
64 age versions. With -i results will be limited to locally installed
65 packages.
66
67 tasks
68 List the tasks specified in the Nimble package's Nimble file.
69
70 path pkgname ...
71 Shows absolute path to the installed packages specified.
72
73 dump [pkgname]
74 Outputs Nimble package information for external tools. The argument
75 can be a .nimble file, a project directory or the name of an installed
76 package.
77
79 -h, --help
80 Print this help message.
81
82 -v, --version
83 Print version information.
84
85 -y, --accept
86 Accept all interactive prompts.
87
88 -n, --reject
89 Reject all interactive prompts.
90
91 --ver
92 Query remote server for package version information when searching
93 or listing packages
94
95 --nimbleDir:dirname
96 Set the Nimble directory.
97
98 --verbose
99 Show all non-debug output.
100
101 --debug
102 Show all output including debug messages.
103
104 --noColor
105 Don't colorise output.
106
108 nim(1), README ⟨https://github.com/nim-lang/nimble#readme⟩
109
110
111
112Linux SEPTEMBER 2017 NIMBLE(1)