Installing NPM on AWS EC2

后端 未结 9 1031
名媛妹妹
名媛妹妹 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

    Edit as my answer wasn't pertinent anymore:

    Try:

    curl --silent --location https://rpm.nodesource.com/setup | bash -
    
    yum -y install nodejs 
    

    https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#enterprise-linux-and-fedora-core

提交回复
热议问题