1、安装 curl
sudo apt-get install curl
2、安装 git
sudo apt-get install git
安装 go
3、安装go
go中国 下载并解压到 /etc/local/bin下
编辑环境变量 /etc/profile
增加 export PATH=$PATH:/usr/local/bin/go/bin
重启
检查:go version 及 go env
4、安装以太坊客户端Ethereum
sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum
geth version
5、安装nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
将
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
加入 /etc/profile
6、检查
node --version
npm --version
nvm --version
7、安装remix-ide
sudo chmod -R 0777 /usr/local/lib
apt install python
nvm install 10
npm install npm -g
npm install -g node-gyp
npm install -g web3
npm install -g webpack-cli
npm install remix-ide -g
8、启动环境
启动remix ide开发环境
打开命令行终端:remix-ide
打开浏览器 http://localhost:8080
看到界面就算正常安装了。
![](https://img.haomeiwen.com/i14299033/ec783ca0947f05d2.png)
![](https://img.haomeiwen.com/i14299033/2fd789e231118da3.png)
网友评论