简体   繁体   中英

zsh: command not found: flutterfire

I am using Mac OS. i am trying register my project in firebase and use Crashlytics in firebase to check if any crash occurs in my app I had used

curl -sL https://firebase.tools | bash

command to install flutter tools it worked fine after that I tried to run

flutterfire configure

command but it throws

zsh: command not found: flutterfire

I know that I must set $path variable but to set path variable I don't know where is my flutter tools has installed in my Mac. kindly help me to set $PATH variable

run before dart pub global activate flutterfire_cli

Once you run the following command

    dart pub global activate flutterfire_cli

you should get the following output

输出

The output is telling you the executable is not on your path variable

    export PATH="$PATH":"$HOME/.pub-cache/bin"

Either run the export command in your terminal OR Add the command to your.zhrc file

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM