Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows10 使用 yarn 安装全局包后找不到命令的问题 #179

Open
ly2011 opened this issue Jul 23, 2019 · 0 comments
Open

windows10 使用 yarn 安装全局包后找不到命令的问题 #179

ly2011 opened this issue Jul 23, 2019 · 0 comments
Labels

Comments

@ly2011
Copy link
Owner

ly2011 commented Jul 23, 2019

  1. 获取 yarn 全局包存放的位置
$ yarn global bin
C:\Users\Administrator\AppData\Local\Yarn\bin
  1. 复制获取的全局包路径,添加到系统环境变量 PATH

参考文档

  1. [记录]使用 yarn 安装全局包后找不到命令的问题
@ly2011 ly2011 added the 工具 label Jul 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant