Installing NPM on AWS EC2

后端 未结 9 1215
名媛妹妹
名媛妹妹 2021-01-31 13:52

Working on Ec2 on AWS.

I have installed Node.js and it works fine.

But the problem arises when trying to install npm.

I am using the following command to

9条回答
  •  不要未来只要你来
    2021-01-31 14:55

    Get the http://npmjs.org/install.sh file on your system first and then execute it directly instead of piping with curl.

    • Use chmod +x install.sh to make it executable
    • Then run ./install.sh

提交回复
热议问题