一.打開網址搜索anywhere
二.更換npm的鏡像源碼,不然會安裝錯誤
# npm config get registry // https://registry.npmjs.org/
# npm config set registry https://registry.npm.taobao.org
---- 驗證是否配置成功
# npm config get registry
三.根據上方的搜索結果,按步驟安裝anywhere
# npm install anywhere -g
四.使用
cd /three.js文件目錄下
anywhere -p 端口
此時會自動打開瀏覽器