• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

MiderWong/homebrew-flutter: Homebrew formula for Flutter.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

MiderWong/homebrew-flutter

开源软件地址:

https://github.com/MiderWong/homebrew-flutter

开源编程语言:

Ruby 100.0%

开源软件介绍:

Flutter

Homebrew shell for Flutter in flutter/flutter github (https://github.com/flutter/flutter)

Installation:

①、Install stable channel:

$ brew tap MiderWong/flutter
$ brew install flutter

②、Install devel channel:

$ brew tap MiderWong/flutter
$ brew install --devel flutter

Upgrade

①、Upgrade stable channel:

$ brew reinstall flutter

②、Upgrade devel channel:

$ brew reinstall --devel flutter

Change channel

①、Change stable to dev:

$ brew uninstall --force flutter
$ rm -rf "$(brew --cache)/flutter--git"
$ brew install --devel flutter

②、Change dev to stable:

$ brew uninstall --force flutter
$ rm -rf "$(brew --cache)/flutter--git"
$ brew install flutter

Uninstallation:

$ brew uninstall --force flutter
$ rm -rf "$(brew --cache)/flutter--git"
$ brew untap MiderWong/flutter

Post-Installation:

flutter path will be

/usr/local/opt/flutter

dart-sdk path will be

/usr/local/opt/flutter/bin/cache/dart-sdk

If you're located in China, please follow:

https://github.com/flutter/flutter/wiki/Using-Flutter-in-China

After installed , please set PUB_HOSTED_URL & FLUTTER_STORAGE_BASE_URL

You may wish to add the flutter-ROOT install location to your PATH:

$ echo 'export PATH="/usr/local/opt/flutter/bin:$PATH"' >> ~/.zshrc

You can use the following command to show flutter version:

$ flutter --version

Run the following command to see if there are any platform dependencies you need to complete the setup:

$ flutter doctor



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
cunkai/HomebrewCN: Homebrew 国内安装脚本发布时间:2022-06-14
下一篇:
alexcrichton/homebrew-formula发布时间:2022-06-14
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap