diff --git a/getting-started.html b/getting-started.html index a942e55..d74c47c 100644 --- a/getting-started.html +++ b/getting-started.html @@ -60,10 +60,10 @@

Installing tools into the user toolchain

Pinning tools in a project toolchain

- Individual projects can be configured with their own toolchains with notion use. This allows you to switch to a project-specific set of tool versions simply by changing directory into your project. It also makes locally-installed binaries available on your PATH, so you don’t need to call them with ./node_modules/.bin. + Individual projects can be configured with their own toolchains with notion pin. This allows you to switch to a project-specific set of tool versions simply by changing directory into your project. It also makes locally-installed binaries available on your PATH, so you don’t need to call them with ./node_modules/.bin.

-
$ cd ~/working/foo$ notion use node 8
$ mocha
+
$ cd ~/working/foo$ notion pin node 8
$ mocha

Commands

@@ -89,7 +89,7 @@

notion install <tool> <version>

$ notion current
user: v8.11.4 (active)
$ notion install node 10
$ notion current
user: v10.9.0 (active)
-

notion use <tool> <version>

+

notion pin <tool> <version>

Configures a project to use the matching version of tool as part of its toolchain. (If no matching version has been fetched, one will be fetched automatically when tool is executed.) This changes the effective version of that tool when inside the project.