How to install flutter SDK easily like a pro.
Installing flutter with a single line of command like a pro.
Introduction
Flutter is an open source framework by Google for building beautiful, natively compiled, multi-platform applications from a single codebase. It transforms the app development process. Build, test, and deploy beautiful mobile, web, desktop, and embedded apps from a single codebase. Flutter is powered by Dart, a language optimized for fast apps on any platform.
What you need
For Windows, you need to install Chocolatey Software, it is focused on helping their community, customers, and partners with solutions that help fill the gaps that are often ignored. They offer a simple, pragmatic, and open approach to software management. Click here to install Chocolatey on Windows.
For MacOS, you need to install Homebrew, it installs the stuff you need that Apple (or your Linux system) didn’t. Click here to install Homebrew.
For Linux, you need to install Snapcraft, it's the app store for Linux. Click here to install snap.
Installing flutter
You can install flutter with those commands and you don't need to handle environment variables anymore. But don't forget to upgrade flutter with "flutter upgrade" command after finished installing with the command.
For Windows, run
choco install flutter
For MacOS, run
brew install --cask flutter
For Linux, run
sudo snap install flutter --classic
Thanks for wasting your time!