{"id":151,"date":"2025-04-03T08:34:32","date_gmt":"2025-04-03T08:34:32","guid":{"rendered":"https:\/\/documentation.iqonic.design\/streamit-laravel\/?p=151"},"modified":"2026-01-29T10:39:13","modified_gmt":"2026-01-29T10:39:13","slug":"how-to-setup-flutter-environment","status":"publish","type":"post","link":"https:\/\/documentation.iqonic.design\/streamit-laravel\/how-to-setup-flutter-environment\/","title":{"rendered":"How to setup Flutter environment"},"content":{"rendered":"<div class=\"nolwrap\">\n<h2 class=\"wp-block-heading\">\ud83e\ude9f<strong>Setup Flutter Environment for Your System<\/strong><\/h2>\n\n\n\n<p>To install and set up Flutter, follow the steps below based on your operating system (Windows, macOS, Linux).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 1: Install Flutter SDK<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download the&nbsp;<a href=\"https:\/\/docs.flutter.dev\/install\/archive\" target=\"_blank\" rel=\"noreferrer noopener\">Flutter SDK<\/a>&nbsp;based on your operating system.<\/li>\n\n\n\n<li>Extract the downloaded ZIP file.<\/li>\n<\/ol>\n\n\n\n<p>\ud83d\udca1&nbsp;<strong>TIP:<\/strong>&nbsp;To manage multiple Flutter versions easily, follow these steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create a folder named&nbsp;<strong>flutter_sdk<\/strong><\/li>\n\n\n\n<li>Extract the ZIP into the&nbsp;<strong>flutter_sdk<\/strong>&nbsp;folder<\/li>\n\n\n\n<li>Rename the extracted folder to something like&nbsp;<strong>flutter_3_27_0<\/strong><\/li>\n\n\n\n<li>Copy the path to the&nbsp;<strong>bin<\/strong>&nbsp;directory (Right-click on&nbsp;<code>bin<\/code>&nbsp;&gt; Properties or Info to get full path)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 2: Add SDK Path to Your Environment<\/strong><\/h3>\n\n\n\n<p><strong>For Windows:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open Start Menu \u2192 Search \u201c<strong>Edit Environment variables for your account<\/strong>\u201d.<\/li>\n\n\n\n<li>Find the&nbsp;<strong>Path<\/strong>&nbsp;variable \u2192 Click \u201cEdit\u201d (or create a new one named&nbsp;<code>Path<\/code>).<\/li>\n\n\n\n<li>Paste the path to your Flutter&nbsp;<strong>bin<\/strong>&nbsp;directory.<\/li>\n\n\n\n<li>Click \u201c<strong>OK<\/strong>\u201d on all windows to save changes.<\/li>\n\n\n\n<li>Open Command Prompt and run:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">flutter doctor<\/pre>\n\n\n\n<p>This verifies if Flutter is now accessible globally.<\/p>\n\n\n\n<p><strong>For macOS\/Linux:<\/strong><\/p>\n\n\n\n<p>1. Open Terminal: Launch the Terminal application on your&nbsp;<strong>macOS<\/strong>&nbsp;or&nbsp;<strong>Linux system.<\/strong><\/p>\n\n\n\n<p>2. Navigate to Home Directory: You can navigate to your home directory by typing \u201c<code>cd ~<\/code>\u201d and pressing Enter.<\/p>\n\n\n\n<p>3. Open or Create the Configuration File: Use a text editor like \u201c<strong>Nano<\/strong>\u201d or \u201c<strong>Vim<\/strong>\u201d to open or create the .bashrc or .zshrc file. For example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">nano ~\/.bashrc  # For Bash<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">nano ~\/.zshrc   # For Z shell (zsh)<\/pre>\n\n\n\n<p>4. Add Flutter to PATH: Add the following line at the end of the file, replacing&nbsp;[PATH_TO_FLUTTER_BIN]&nbsp;with the actual path to the Flutter bin directory:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">export PATH=\"$PATH:[PATH_TO_FLUTTER_BIN]\"<\/pre>\n\n\n\n<p>For example, if Flutter is located in your home directory under a folder named flutter_3_27_0, the line would look like this:<\/p>\n\n\n\n<p>export PATH=\u201d$PATH:$HOME\/flutter_sdk\/flutter_3_27_0\/bin\u201d<\/p>\n\n\n\n<p>5. Save Changes: Save the changes you made to the file. In Nano, you can do this by pressing Ctrl + X, then Y to confirm, and finally Enter to<strong>&nbsp;save<\/strong>.<\/p>\n\n\n\n<p>6. Apply Changes: To apply the changes to the current Terminal session, run:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">source ~\/.bashrc  # For Bash<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">source ~\/.zshrc   # For Z shell (zsh)<\/pre>\n\n\n\n<p>7. Open a new terminal and run:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">flutter doctor<\/pre>\n\n\n\n<p>This checks whether Flutter is working globally on your system.<\/p>\n\n\n\n<p><\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>\ud83e\ude9fSetup Flutter Environment for Your System To install and set up Flutter, follow the steps below based on your operating system (Windows, macOS, Linux). Step 1: Install Flutter SDK \ud83d\udca1&nbsp;TIP:&nbsp;To manage multiple Flutter versions easily, follow these steps: Step 2: Add SDK Path to Your Environment For Windows: flutter doctor This verifies if Flutter is [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"parent":142,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-151","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"featured_image_src":null,"author_info":{"display_name":"laraveladminiq","author_link":"https:\/\/documentation.iqonic.design\/streamit-laravel\/author\/laraveladminiq\/"},"children":[],"_links":{"self":[{"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/posts\/151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/comments?post=151"}],"version-history":[{"count":7,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/posts\/151\/revisions"}],"predecessor-version":[{"id":1729,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/posts\/151\/revisions\/1729"}],"up":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/posts\/142"}],"wp:attachment":[{"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/media?parent=151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/categories?post=151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/tags?post=151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}