mac remix import local project

install remixd

sudo npm install -g @remix-project/remixd

The second step remix connects to the local

sudo remixd -s <absolute-path-to-the-shared-folder> --remix-ide http://remix.ethereum.org


Pay attention to the http://remix.ethereum.org part at the end of the command. If the remix URL you log in is https://remix.ethereum.org, replace it with https://remix.ethereum.org
such as

sudo remixd -s /Users/shijianfeng/Desktop/my-code-hub/nft --remix-ide https://remix.ethereum.org

 

 

After the command is entered, click Connect in the Remix IDE to link directly, and then modify the code on the IDE to automatically synchronize to the local. Note ⚠️ The remixd terminal cannot be closed, because it is a socket connection, and files cannot be shared once it is closed.

Guess you like

Origin blog.csdn.net/u013288190/article/details/123860414