Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vallamost/08a2d38fb16ddf23111b2b9bf8b7da0a to your computer and use it in GitHub Desktop.
Save vallamost/08a2d38fb16ddf23111b2b9bf8b7da0a to your computer and use it in GitHub Desktop.
Download and Install the latest version of Flutter on Windows and add it to the path via the CLI

Download and Install the latest version of Flutter on Windows and add it to the path via the CLI

Requires git for CMD Installs flutter to a folder named flutter on the desktop. Appends the flutter\bin folder to your current Windows PATH variable.

Open CMD in administrative mode, not powershell.

cd %USERPROFILE%/Desktop

git clone https://github.com/flutter/flutter.git -b stable

setx path "%path%;C:\Users\%USERNAME%\Desktop\flutter\bin"

Restart your CMD, and the flutter command should now be available.

Try turning off analytics for it.

flutter config --no-analytics

Leave a comment or star if this helped you! :)

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