{"id":71,"date":"2025-04-16T09:30:54","date_gmt":"2025-04-16T09:30:54","guid":{"rendered":"https:\/\/documentation.iqonic.design\/kivicare-laravel\/?p=71"},"modified":"2025-06-04T05:02:10","modified_gmt":"2025-06-04T05:02:10","slug":"how-to-setup-flutter-environment","status":"publish","type":"post","link":"https:\/\/documentation.iqonic.design\/kivicare-laravel\/how-to-setup-flutter-environment\/","title":{"rendered":"How to setup Flutter Environment"},"content":{"rendered":"<div class=\"nolwrap\">\n<h2 class=\"wp-block-heading\"><strong>Setup Flutter Environment for your System<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Install Flutter SDK<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install&nbsp;<a href=\"https:\/\/docs.flutter.dev\/release\/archive\" target=\"_blank\" rel=\"noreferrer noopener\">Flutter SDK<\/a>&nbsp;depending on your OS.<\/li>\n\n\n\n<li>Extract the Zip.<\/li>\n<\/ul>\n\n\n\n<p><strong>TIP<\/strong><\/p>\n\n\n\n<p>To Keep Flutter SDK easily manageable we recommend few tips for Storing sdk.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create&nbsp;<strong>flutter_sdk<\/strong>&nbsp;folder.<\/li>\n\n\n\n<li>Extract the zip into the&nbsp;<strong>&#8220;flutter_sdk&#8221;<\/strong>&nbsp;directory.<\/li>\n\n\n\n<li>Rename the extracted directory with relevant flutter_version (i.e If you have installed flutter 3.27.0 than rename the directory as\u00a0<strong>&#8220;flutter_3_27_0&#8221;<\/strong>)<\/li>\n<\/ul>\n\n\n\n<p>Copy the Flutter path to the bin directory. (i.e &#8211; Right Click on bin directory and open properties\/info, you can see the full path to Flutter &#8220;bin&#8221; directory)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Add SDK Path to your Environment<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Windows<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open Search bar and Search for&nbsp;<strong>&#8220;Edit Environment variables for your account&#8221;<\/strong>.<\/li>\n\n\n\n<li>If &#8220;Path&#8221; variable exist in you environment variable than click on&nbsp;<strong>&#8220;Edit&#8221;<\/strong>&nbsp;else click on &#8220;New&#8221; and name the variable &#8220;Path&#8221;<\/li>\n\n\n\n<li>paste the Path to the Flutter bin directory into &#8220;Path&#8221; variable.<\/li>\n\n\n\n<li>Click &#8220;OK&#8221; on all windows to save the changes.<\/li>\n\n\n\n<li>Open a new command prompt window and run&nbsp;<code>flutter doctor<\/code>&nbsp;to verify that Flutter is now accessible from anywhere.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>macOS and Linux<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open Terminal: Launch the Terminal application on your macOS or Linux system.<\/li>\n\n\n\n<li>Navigate to Home Directory: You can navigate to your home directory by typing &#8220;<code>cd ~<\/code>&#8221; and pressing Enter.<\/li>\n\n\n\n<li>Open or Create the Configuration File: Use a text editor like &#8220;Nano&#8221; or &#8220;Vim&#8221; to open or create the .bashrc or .zshrc file. For example:<\/li>\n<\/ul>\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<ul class=\"wp-block-list\">\n<li>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:<\/li>\n<\/ul>\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=&#8221;$PATH:$HOME\/flutter_sdk\/flutter_3_27_0\/bin&#8221;<\/p>\n\n\n\n<p>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 save.<\/p>\n\n\n\n<p>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>Verify Flutter Installation: Open a new Terminal window or tab, and run&nbsp;<code>flutter doctor<\/code>&nbsp;to verify that Flutter is now accessible from anywhere.<br><a href=\"https:\/\/apps.iqonic.design\/documentation\/kivicare-laravel-doc\/build\/docs\/category\/app-faqs-\" target=\"_blank\" rel=\"noopener\"><\/a><\/p>\n\n\n\n<p><\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Setup Flutter Environment for your System Install Flutter SDK TIP To Keep Flutter SDK easily manageable we recommend few tips for Storing sdk. Copy the Flutter path to the bin directory. (i.e &#8211; Right Click on bin directory and open properties\/info, you can see the full path to Flutter &#8220;bin&#8221; directory) Add SDK Path to [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"parent":69,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-71","post","type-post","status-publish","format-standard","hentry","category-kivicare-laravel"],"featured_image_src":null,"author_info":{"display_name":"laraveladminiq","author_link":"https:\/\/documentation.iqonic.design\/kivicare-laravel\/author\/laraveladminiq\/"},"children":[],"_links":{"self":[{"href":"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-json\/wp\/v2\/posts\/71","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-json\/wp\/v2\/comments?post=71"}],"version-history":[{"count":4,"href":"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-json\/wp\/v2\/posts\/71\/revisions"}],"predecessor-version":[{"id":597,"href":"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-json\/wp\/v2\/posts\/71\/revisions\/597"}],"up":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-json\/wp\/v2\/posts\/69"}],"wp:attachment":[{"href":"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-json\/wp\/v2\/media?parent=71"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-json\/wp\/v2\/categories?post=71"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-json\/wp\/v2\/tags?post=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}