反馈请联系hertz@hertzwang.com,谢谢
安装 fir-cli
参考官方文档:https://github.com/FIRHQ/fir-cli/blob/master/doc/install.md
fir-cli 使用 Ruby 构建, 无需编译, 只要安装相应 gem 即可.
$ ruby -v
$ gem install fir-cli
安装错误
出现
You don't have write permissions
:Fetching: thor-0.19.4.gem (100%) ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
解决:在命令前加上
sudo