Nodejs always installing 4.2.6

后端 未结 5 1700
终归单人心
终归单人心 2020-12-31 10:41

I am installing latest version of nodejs in my localhost. But system is always installing the 4.2.6 version.How can i install the latest version.

Commands i have use

5条回答
  •  再見小時候
    2020-12-31 11:16

    Current LTS instructions:

    curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
    sudo apt-get install -y nodejs
    

    Courtesy of https://github.com/nodesource/distributions#installation-instructions

提交回复
热议问题