1.本地安装Remixnpminstall-g@remix-project/remixd2.建立Remix本地文件remixd-s/path/to/local/dir--remix-idehttp://remix.ethereum.org/3.进入IDE浏览器打开http://remix.ethereum.org,workspace选择localhost到这里已经可以看到remix链接至本地文件夹4.Github上拉取OpenZeppelin合约库这里因为我npm安装有问题,所以直接将Github上的contracts文件拉入第二步创建的本地文件夹,用相对路径调用OpenZeppelin合约。