DEV Community

Chandrasekar Kuppusamy
Chandrasekar Kuppusamy

Posted on • Originally published at Medium on

Flutter — Getting started with VSCode setup for Mac

I know VS code has become popular amongst developers. Is that because it is colorful? Nope! I don’t think so, but something lite for the hassle free development, Isn’t ?. Alright, lets see how to play with VSCode for Flutter development in few steps

STEP 1: Visit the official setup page for flutter https://flutter.io/setup-macos/

STEP 2: Download the flutter_macos_v0.5.1-beta.zip file

STEP 3: Copy the path of a file where downloaded contents exists ( In my case ,it is default downloads folder) i.e ~/Downloads/

STEP 4: Now unzip the file using below command in your root folder and take a break.

unzip ~/Downloads/flutter_macos_v0.5.1-beta.zip
Enter fullscreen mode Exit fullscreen mode

Pefect ! Now flutter should have been configured on your home location.

STEP 5: Add the below export PATH statement in ~/.zshrc (Zsh users) or $HOME/.bash_profile

export PATH=$HOME/flutter/bin:$PATH
Enter fullscreen mode Exit fullscreen mode

Tip : I use Zsh with iTerm2 and my file looks like below

export ANDROID_HOME=$HOME/Library/Android/sdk

export PATH=$PATH:$ANDROID_HOME/bin

export PATH=$PATH:$HOME/Library/Android/sdk/platform-tools

export PATH=$PATH:$HOME/Library/Android/sdk/tools

export PATH=$HOME/flutter/bin:$PATH
Enter fullscreen mode Exit fullscreen mode

STEP 7: Save the changes and close the terminal once (It’s very important)

STEP 6: Now, run flutter run command to ensure flutter is configured successfully ( If your installation is complete, then you shouldn’t get command flutter not found exception )

STEP 7: Go to Extensions , type Flutter , Install and Reload.

STEP 8: Now that all Flutter commands should have linked on your Command palette.

Happy Coding! Welcome to the world of fluttering :-)


AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (0)

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay