Skip to content

Instantly share code, notes, and snippets.

@zoonderkins
Last active September 6, 2024 03:47
Show Gist options
  • Save zoonderkins/978ece1101cc7328a7d0f01e73f296ee to your computer and use it in GitHub Desktop.
Save zoonderkins/978ece1101cc7328a7d0f01e73f296ee to your computer and use it in GitHub Desktop.
Mac-flutter-path #mac

Make flutter cmd run in zsh

// When you downloaded flutter sdk, unzip it to ~/flutter
// Add to ~/.bash_profile
nano .bash_profile
export PATH="$PATH:/Users/lol/development/flutter/bin"

// save 
soure ~/.bash_profile
// ZSH 
// Add the path to your ~/.zshrc

# Export flutter
export PATH=$HOME/flutter/bin:$PATH

// Make it happend and restart iterm or terminal

source ~/.zshrc

Reference: Github

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment