2022年6月28日星期二

zsh: command not found: flutter

 

  1. Open terminal.

  2. vim $HOME/.zshrc

  3. Press "i" key for going to insert mode.

  4. add the following line in the opened file:

    export PATH="$PATH:/$HOME/YOUR_FLUTTER_DIR/flutter/bin"

  5. Press "Esc" then write :wq! in terminal and press enter to exit vim.

  6. Reopen the terminal and check "flutter doctor"

沒有留言:

發佈留言