From bc9e4e6caeb03d21b0687be472b54e274bc394be Mon Sep 17 00:00:00 2001 From: Malolan B Date: Sun, 16 Jan 2022 13:48:42 +0530 Subject: [PATCH] [Documentation] Adds Additional info regarding .node-version (#637) --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 9d8be8c..d1243ac 100644 --- a/README.md +++ b/README.md @@ -121,6 +121,14 @@ Please follow your shell instructions to install them. Environment variables need to be setup before you can start using fnm. This is done by evaluating the output of `fnm env`. To automatically run `fnm use` when a directory contains a `.node-version` or `.nvmrc` file, add the `--use-on-cd` option to your shell setup. + +Adding a `.node-version` to your project is as simple as: +```bash +$ node --version +v14.18.3 +$ node --version > .node-version +``` + Check out the following guides for the shell you use: #### Bash