Install the core development tools needed for Flutter:

    
$ sudo apt install clang cmake ninja-build pkg-config libgtk-3-dev
    

    This downloads the compiler toolchain needed
to compile apps for ChromeOS.

Download Flutter from the Flutter repo
on GitHub with the following command in your home directory:

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

Add the flutter tool to your path:

    
$ echo PATH="$PATH:`pwd`/flutter/bin" >> ~/.profile
$ source ~/.profile

You are now ready to run Flutter commands!

Run flutter doctor

Run the following command to see if there are any dependencies you need to
install to complete the setup (for verbose output, add the -v flag):

flutter doctor