@@ -202,17 +202,32 @@ version range, for example:
202202
203203The latter command will install a version that is greater than `` 0.5 `` .
204204
205- If you don't specify a parameter and there is a `` package.nimble `` file in your
206- current working directory then Nimble will install the package residing in
207- the current working directory. This can be useful for developers who are locally
208- testing their `` .nimble `` files before submitting them to the official package
209- list. See the [ Creating Packages] ( #creating-packages ) section for more info on this.
210-
211205Nim flags provided to ` nimble install ` will be forwarded to the compiler when
212206building any binaries. Such compiler flags can be made persistent by using Nim
213207[ configuration] ( https://nim-lang.org/docs/nimc.html#compiler-usage-configuration-files )
214208files.
215209
210+ #### Local Package Development
211+
212+ The `` install `` command can also be used for locally testing or developing a
213+ Nimble package by leaving out the package name parameter. Your current working
214+ directory must be a Nimble package and contain a valid `` package.nimble `` file.
215+
216+ Nimble will install the package residing in the current working directory when you
217+ don't specify a package name and the directory contains a `` package.nimble `` file.
218+ This can be useful for developers who are locally testing their `` .nimble `` files
219+ before submitting them to the official package list.
220+ See the [ Creating Packages] ( #creating-packages ) section for more info on this.
221+
222+ Dependencies required for developing or testing a project can be installed by
223+ passing ` --depsOnly ` without specifying a package name. Nimble will then install
224+ any missing dependencies listed in the package's `` package.nimble `` file in the
225+ current working directoy. Note that dependencies will be installed globally.
226+
227+ For example to install the dependencies for a Nimble project `` myPackage `` :
228+
229+ $ cd myPackage/ && nimble install --depsOnly
230+
216231#### Package URLs
217232
218233A valid URL to a Git or Mercurial repository can also be specified, Nimble will
0 commit comments