Open terminal.
vim $HOME/.zshrcPress "i" key for going to insert mode.
add the following line in the opened file:
export PATH="$PATH:/$HOME/YOUR_FLUTTER_DIR/flutter/bin"Press "Esc" then write
:wq!in terminal and press enter to exit vim.Reopen the terminal and check "flutter doctor"
沒有留言:
發佈留言