0
0
mirror of https://github.com/tj/n.git synced 2024-11-21 18:48:57 +01:00

"directly" caused confusion in past, reword

This commit is contained in:
John Gee 2020-09-08 19:39:06 +12:00
parent a065181454
commit 81ffd9ea7a

View File

@ -31,7 +31,7 @@ Since you probably already have `node`, the easiest way to install `n` is throug
npm install -g n
Once installed, `n` caches `node` versions in subdirectory `n/versions` of the directory specified in environment variable `N_PREFIX`, which defaults to `/usr/local`; and the _active_ `node` version is installed directly in `N_PREFIX`.
Once installed, `n` caches `node` versions in subdirectory `n/versions` of the directory specified in environment variable `N_PREFIX`, which defaults to `/usr/local`; and the _active_ `node` version is installed under `N_PREFIX`.
To avoid requiring `sudo` for `n` and `npm` global installs, it is suggested you either install to your home directory using `N_PREFIX`, or take ownership of the system directories: