Skip to content

Instantly share code, notes, and snippets.

@SurajBahadur
Created January 8, 2023 07:46
Show Gist options
  • Save SurajBahadur/85448fafbdf5d098218aa10d8dbbdca5 to your computer and use it in GitHub Desktop.
Save SurajBahadur/85448fafbdf5d098218aa10d8dbbdca5 to your computer and use it in GitHub Desktop.
in mac always getting zsh: command not found
Works on macOS :
You can manually edit .zshrc file and revert the changes you made to PATH.
Open TextEdit app.
Go to folder: cmd + shift + g
type: ~/
See hidden files: cmd + shift + .
select: .zshrc
Revert changes, save file, and reopen terminal.
@SurajBahadur
Copy link
Author

export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
export PATH=$PATH:/opt/homebrew/bin
//flutter path
export PATH=$PATH:/Users/prepladderpvtltd/Documents/FlutterDev/sdk/flutter/bin

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