0
0
mirror of https://github.com/tj/n.git synced 2024-11-28 02:06:43 +01:00

Add manual install instructions and remove probably rarely used make instruction (#822)

This commit is contained in:
John Gee 2024-11-09 11:43:28 +13:00 committed by GitHub
parent cbde6e2b01
commit fe3c3da5af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,11 +64,11 @@ If `npm` is not yet available, one way to bootstrap an install is to download an
# If you want n installed, you can use npm now.
npm install -g n
Alternatively, you can clone this repo and
If you don't need support for updates to `n` itself you can just save the download:
make install
which defaults to `/usr/local/bin/n`. To install `n` in a custom location such as `$CUSTOM_LOCATION/bin/n`, run `PREFIX=$CUSTOM_LOCATION make install`.
curl -fsSL -o /usr/local/bin/n https://raw.githubusercontent.com/tj/n/master/bin/n
chmod 0755 /usr/local/bin/n
n install lts
### Third Party Installers