Ask coding questions

← Back to all posts
Why Node JS Have Outdated Node Version

Hey , I Want To Update Node JS In Node Have Outdated Version
Lts is 14 and current is 15
i wanna update to lts
node 12 is outdated


i don't think upgrades yet. They're probably working on it. But for now, i guess you have to work with it.


How To Update Node JS
Open Ur Repl
click shell
type this command
curl -o- | 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_DIR/" # 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

xxpertHacker (930)

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.

19wintersp (1142)

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

19wintersp (1142)

@EAZYBLACK You might need to check the install directory; the current installation might be overriding it.

ubgamingpro (0)

@19wintersp but how

as I am trying to create a minecraft bot