Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rajibdpi/90b2bffdd45bb25266205b166a8f5194 to your computer and use it in GitHub Desktop.
Save rajibdpi/90b2bffdd45bb25266205b166a8f5194 to your computer and use it in GitHub Desktop.
Adding a directory to the PATH environment variable in Windows
  1. You can permanently add a user PATH to PATH with the setx command:
setx PATH "C:\flutter\bin;%PATH%"
  1. Add the /M flag if you want to set the system PATH instead of the user PATH.
    You need run the cmd Run as Administrator
setx /M PATH "C:\flutter\bin;%PATH%"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment