Created
November 28, 2019 02:13
-
-
Save valtoni/d646c7db8a5e7ab644d1d0c5d822350c to your computer and use it in GitHub Desktop.
Install Protobuf at flutter on Mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install protobuf | |
| brew install protobuf | |
| brew install swift-protobuf | |
| flutter pub global activate protoc_plugin | |
| echo ' | |
| # Flutter binaries | |
| export FLUTTER_HOME="$HOME/work/apps/flutter" | |
| export DART_HOME="$FLUTTER_HOME/bin/cache/dart-sdk" | |
| export PATH="$PATH":"$FLUTTER_HOME/bin":"$FLUTTER_HOME/.pub-cache/bin":"$DART_HOME/bin"' > $HOME/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment