Installing nodejs and npm on linux

前端 未结 3 2073
一整个雨季
一整个雨季 2021-02-05 23:16

I have having a bit of an issue with installing nodejs and npm on my linux server (which is a pi running raspbian). I had everything set up and running using

su         


        
3条回答
  •  猫巷女王i
    2021-02-05 23:37

    Below are the simple steps to proceed with the installation

    1. Open Terminal
    2. Run command to install nodejs : sudo apt install nodejs
    3. Run command to verify installation by checking version: node -v or node –version
    4. Run command to install npm: sudo apt install npm
    5. Run command to verify installation of npm: npm -v or npm –version

    For reference: https://youtu.be/DGjfw4y0nTI

提交回复
热议问题