Why Node JS Have Outdated Node Version
Hey , I Want To Update Node JS In Repl.it Node Have Outdated Version
Lts is 14 and current is 15
i wanna update to lts
node 12 is outdated
How To Update Node JS Repl.it
Open Ur Repl
click shell
type this command
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
and press enter
then wait
now type that
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
and press enter
then type
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
and press enter
then type
nvm install v14.16.0
and press etner
then type
nvm use v14.16.0
and press enter
And U Finished
gonna make an .sh installer thx for support
updated node i installed nvm
Install it into your own directory and run that binary instead of the default node in /bin.
This works for every single language on Repl, and it's that simple.
A lot of the languages are out-of-date; apparently they're working on it? I don't think there's a way of updating it.
@19wintersp i tried to update with nvm it saided install node 14 it says completed i ran node -v and it says 12 again
@EAZYBLACK You might need to check the install directory; the current installation might be overriding it.
@19wintersp but how
as I am trying to create a minecraft bot
i don't think repl.it upgrades yet. They're probably working on it. But for now, i guess you have to work with it.