Installing NPM on AWS EC2

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

    git clone https://github.com/isaacs/npm.git cd npm sudo make install

    And if you don't have git, do this first: sudo yum install git

提交回复
热议问题