Scroll to navigation
NIMBLE(1) |
User Commands |
NIMBLE(1) |
NAME¶
nimble - Nim Package Installer
SYNOPSIS¶
nimble COMMAND [opts]
DESCRIPTION¶
Commands:¶
- install
- [pkgname, ...] Installs a list of packages. [-d, --depsOnly]
Install only dependencies.
- init
- [pkgname] Initializes a new Nimble project.
- publish
- Publishes a package on nim-lang/packages. The current working directory
needs to be the toplevel directory of the Nimble package.
- uninstall
- [pkgname, ...] Uninstalls a list of packages.
- build
- Builds a package.
- c, cc, js
- [opts, ...] f.nim Builds a file inside a package. Passes options
- to the Nim compiler.
- doc, doc2
- [opts, ...] f.nim Builds documentation for a file inside a
- package. Passes options to the Nim compiler.
- refresh
- [url] Refreshes the package list. A package list URL
- can be optionally specified.
- search
- pkg/tag Searches for a specified package. Search is
- performed by tag and by name.
- [--ver]
- Query remote server for package version.
- list
- Lists all packages.
- [--ver]
- Query remote server for package version.
- [-i, --installed]
- Lists all installed packages.
- tasks
- Lists the tasks specified in the Nimble package's Nimble file.
- path
- pkgname ... Shows absolute path to the installed packages
- specified.
- dump
- [pkgname] Outputs Nimble package information for
- external tools. The argument can be a
- .nimble file, a project directory or the name of an installed
package.
OPTIONS¶
- -h, --help
- Print this help message.
- -v, --version
- Print version information.
- -y, --accept
- Accept all interactive prompts.
- -n, --reject
- Reject all interactive prompts.
- --ver
- Query remote server for package version information when searching or
listing packages
- --nimbleDir:dirname
- Set the Nimble directory.
- --verbose
- Show all non-debug output.
- --debug
- Show all output including debug messages.
- --noColor
- Don't colorise output.
SEE ALSO¶
The nim-doc package.