NIMBLE(1)
π NIMBLE(1) π
okay bestie, pull up a chair β this is the Nimble page from the User Commands manual, and it's honestly a lot, but we're getting through it together, no skips, no cap. π«Ά this is your girl's guide to the Nim Package Installer and she does. it. all.
β¨ NAME β¨
nimble β the Nim Package Installer. that's the whole name section. she's concise, she's booked, she's iconic. π
π¦ SYNOPSIS π¦
nimble [nimbleopts] COMMAND [cmdopts]
so it's nimble opts first, then the COMMAND, then that command's own opts. order girlies. π«
π DESCRIPTION π
π§ Commands π§
install
[pkgname, ...]β installs a list of packages.-d,--depsOnlyβ only install dependencies. leave outpkgnameand it installs deps for a local nimble package instead.-p,--passNimβ forwards the flag you specify to the compiler.--noRebuildβ don't rebuild binaries if they're already up-to-date. we love a lazy queen who respects her own time. π
develop
[pkgname, ...]β clones a list of packages for development. adds them to a develop file if one is specified, or tonimble.developif not specified and executed in the package's directory.--withDependenciesβ also puts the dependencies of the packages in the list into develop mode β or of the current directory package if the list is empty.-p,--pathpath β specifies the path where the packages should be cloned.-a,--addpath β adds a package at the given path to a specified develop file, or tonimble.developif not specified and executed in the package's directory.-r,--removePathpath β removes a package at the given path from a specified develop file, or fromnimble.developif not specified and executed in the package's directory.-n,--removeNamename β removes a package with the given name from a specified develop file, or fromnimble.developif not specified and executed in the package's directory.-i,--includefile β includes a develop file into a specified develop file, or tonimble.developif not specified and executed in the package's directory.-e,--excludefile β excludes a develop file from a specified develop file, or fromnimble.developif not specified and executed in the package's directory.
check
- verifies the validity of a package in the current working directory. vibe check, but for your package. β
init
[pkgname]β initializes a new Nimble project in the current directory, or, if a name is provided, in a new directory of the same name.--git,--hgβ creates a git/hg repo in the new nimble project.
publish
- publishes a package on nim-lang/packages. the current working directory needs to be the top level directory of the Nimble package. main character moment only works from the top level, bestie. π
uninstall
[pkgname, ...]β uninstalls a list of packages.-i,--inclDepsβ uninstalls the package and its dependent package(s).
build
[opts, ...] [bin]β builds a package. passes options to the Nim compiler.
clean
- clean build artifacts. the digital equivalent of clearing out your saved tiktoks. π§Ή
guide
- opens the Nimble User Guide in your preferred browser. study session, babes. π
add
- adds packages to your project's dependencies.
run
[opts, ...] [bin]β builds and runs a package. the binary needs to be specified after any compilation options if there are several binaries defined. any flags after the binary or after the--arg are passed to the binary when it is run.
c, cc, js
[opts, ...] f.nimβ builds a file inside a package. passes options to the Nim compiler.
test
- compiles and executes tests.
-c,--continueβ don't stop execution on a failed test. keep going, we believe in you. π[opts, ...]β 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. the search is performed by tag and by name.--ver,--versionβ queries the remote server for the package version.
list
- lists all packages.
-i,--installedβ lists all installed packages.--ver,--versionβ also display versions for packages.-n,--nimbinariesβ lists all installed packages.
tasks
- lists the tasks specified in the Nimble package's Nimble file.
path
pkgname ...β shows the absolute path to the installed packages specified.
dump
[pkgname]β outputs Nimble package information for external tools. the argument can be a.nimblefile, a project directory, or the name of an installed package.--ini,--jsonβ selects the output format (the default is--ini). only applicable to package information.--collectβ collects all the packages in the dependency tree of the given package and shows the result in the console.--solveβ solves the dependency tree of the given package and shows the result in the console.
lock
- generates or updates a package lock file. π
upgrade
[pkgname, ...]β upgrades a list of packages in the lock file.
deps
- outputs dependencies for the current package.
--treeβ outputs the dependency tree.--invertedβ outputs the inverted (reversed) dependency tree.--format typeβ specify the output format. json is the only supported format. only some commands support it.
sync
- synchronizes develop mode dependencies with the content of the lock file.
-l,--listOnlyβ only lists the packages which are not synced, without actually performing the sync operation.
setup
- creates the
nimble.pathsfile containing file system paths to the dependencies. also includes the paths file in theconfig.nimsfile to make them available for the compiler.
shell
- creates a new shell with PATH modified to contain the bin folders of the dependencies.
shellenv
- similar to the
shellcommand, but it returns the script to run in order to alter the environment. this is intended to be used in scripts.
π Nimble Options π
-h,--helpβ print this help message.-v,--versionβ print version information.-y,--acceptβ accept all interactive prompts. yes girl say yes. π-n,--rejectβ reject all interactive prompts.-l,--localdepsβ run in project local dependency mode.-g,--globalβ run in global dependency mode.--resolver:minver|maxverβ pick the lowest (minver) or newest (maxver, default) version satisfying each requirement.-p,--packageβ for which package in the dependency tree the command should be executed. if not provided, by default it applies to the current directory package. for now, it is used only by therunaction and it is ignored by others.-t,--tarballsβ enable downloading of packages as tarballs when working with GitHub repositories.--verβ query the remote server for package version information when searching or listing packages.--nimbleDir:dirnameβ set the Nimble directory.--nim:pathβ use the specified path for the Nim compiler.--silentβ hide all Nimble and Nim output.--infoβ show some informative output.--verboseβ show extra non-debugging output.--debugβ show all output including debug messages.--offlineβ don't use network.--noColorβ don't colorise output.--noSslCheckβ don't check SSL certificates.--lockFileβ override the lock file name.--noLockfileβ ignore the lock file if present.--developFileβ specifies the name of the develop file which is to be manipulated. if not present, creates it.--useSystemNimβ use system nim and ignore nim from the lock file if any.--requiresβ add extra packages to the dependency resolution. uses the same syntax as the Nimble file. example:nimble install --requires "pkg1; pkg2 >= 1.2".--disableNimBinariesβ disable the use of nim precompiled binaries. note: in some platforms precompiled binaries are not available, but the flag can still be used to avoid compiling the Nim version once and reusing it.--maximumTaggedVersionsβ maximum number of tags to check for a package when discovering versions for the SAT solver.0means all.--parser:declarative|nimvmβ use the declarative parser or the nimvm parser (default).--featuresβ activate features. only used when using the declarative parser.--ignoreSubmodulesβ ignore submodules when cloning a repository.--syncβ disable parallel downloads and version discovery.
for more information read the GitHub readme: https://github.com/nim-lang/nimble#readme
ngl bestie, that was a lot of options, and we read every single one. not me being thorough. π
that's the whole page, you made it! π this was nimble 2.2.12, dated September 2026, and it's filed under NIMBLE(1) in the User Commands manual. go forth and install something iconic. πβ¨
π¦ where this page comes from
- arch rolling: nim 2.2.12-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms