关于macos:MAC软件安装

yarn

基于终端装置

1. curl -o- -L https://yarnpkg.com/install.sh | bash  

Yarn was installed, but doesn't seem to be working :(.提醒则进入第2步,持续配置环境变量,否则⬇️
yarn --version校验是否装置胜利,如果command not found: yarn,则持续配置环境变量

2. touch ~/.bash_profile   //touch是没有就创立;.bash_profile这是零碎长期的环境变量 
   
3. sudo open -e ~/.bash_profile //sudo是最大权限,输出明码为锁屏明码

第三部后会弹出 .bash_profile文件框,须要写入path,具体命令依据提醒输出

4. source ~/.bash_profile

yarn --version check~

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理