📜  yarn global - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:13.533000             🧑  作者: Mango

代码示例3
I got global bins working by altering my path from what the docs say in the alternative installation section from export PATH="$PATH:$HOME/.yarn/bin" to export PATH="$PATH:$HOME/.yarn/bin:$HOME/.yarn-config/global/node_modules/.bin".

I use nvm with yarn installed through npm as a global package.