转自:https://juejin.cn/post/6996140355418603551
在VS Code Insiders中:
安装“code-insiders”命令后,依然报错“code command not found”。
解决方法:
执行open ~/.zprofile
,打开.zprofile文件,在文件中添加以下内容:
# Add Visual Studio Code Insider
export PATH="$PATH:/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/bin"
复制代码
然后重启终端即可解决!
更多精彩内容:各种AI课程、技能课程、黑科技软件、网站小程序源码、副业小项目、PPT模板等精品素材、电商课程、推广引流课程等,尽在 天边资源网 。