{"id":730,"date":"2023-07-20T12:23:40","date_gmt":"2023-07-20T12:23:40","guid":{"rendered":"https:\/\/www.devopssupport.in\/blog\/?p=730"},"modified":"2023-07-20T12:23:42","modified_gmt":"2023-07-20T12:23:42","slug":"flutter-is-not-recognized","status":"publish","type":"post","link":"https:\/\/www.devopssupport.in\/blog\/flutter-is-not-recognized\/","title":{"rendered":"flutter is not recognized\u00a0"},"content":{"rendered":"\n<p>In the command prompt returns an error saying &#8220;flutter is not recognized,&#8221; it means that the Flutter SDK is not added to your system&#8217;s PATH environment variable. The PATH variable is used to locate executables, so you need to configure it to include the path to the Flutter SDK.<\/p>\n\n\n\n<p><strong>Find the Flutter SDK path<\/strong>: Locate the directory where you have installed the Flutter SDK. The path may look something like this: <code>C:\\flutter<\/code> on Windows or <code>\/Users\/your-username\/flutter<\/code> on macOS or Linux.<\/p>\n\n\n\n<p>Right-click on &#8220;This PC&#8221; (or &#8220;My Computer&#8221;) and select &#8220;Properties.&#8221;<\/p>\n\n\n\n<p>Click on &#8220;Advanced system settings&#8221; on the left panel.<\/p>\n\n\n\n<p>OR<\/p>\n\n\n\n<p>Click &#8216;Windows button&#8217; on keyboard Then search for &#8220;View Advanced System Setting&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-9.png\" alt=\"\" class=\"wp-image-731\" width=\"368\" height=\"427\" srcset=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-9.png 613w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-9-258x300.png 258w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-9-300x348.png 300w\" sizes=\"auto, (max-width: 368px) 100vw, 368px\" \/><\/figure>\n\n\n\n<p>In the System Properties window, click the &#8220;Environment Variables&#8221; button at the bottom.<\/p>\n\n\n\n<p>In the &#8220;User variables for name&#8221; section, find the &#8220;Path&#8221; variable, then click &#8220;Edit.&#8221;<\/p>\n\n\n\n<p>Click &#8220;New&#8221; and add the path to the Flutter <code>bin<\/code> directory (e.g., <code>C:\\flutter\\bin<\/code>).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-10.png\" alt=\"\" class=\"wp-image-732\" width=\"410\" height=\"431\" srcset=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-10.png 954w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-10-285x300.png 285w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-10-768x807.png 768w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-10-300x315.png 300w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-10-850x894.png 850w\" sizes=\"auto, (max-width: 410px) 100vw, 410px\" \/><\/figure>\n\n\n\n<p>Click &#8220;OK&#8221; to save the changes.<\/p>\n\n\n\n<p><strong>Apply the changes<\/strong>: After modifying the PATH variable, you need to restart any open command prompt or terminal windows for the changes to take effect.<\/p>\n\n\n\n<p><strong>Verify Flutter installation<\/strong>: Open a new command prompt or terminal window and run <code>flutter --version<\/code> again. It should now display the Flutter version information without any errors.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the command prompt returns an error saying &#8220;flutter is not recognized,&#8221; it means that the Flutter SDK is not added to your system&#8217;s PATH environment variable&#8230;. <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-730","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/posts\/730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/comments?post=730"}],"version-history":[{"count":1,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/posts\/730\/revisions"}],"predecessor-version":[{"id":733,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/posts\/730\/revisions\/733"}],"wp:attachment":[{"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/media?parent=730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/categories?post=730"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/tags?post=730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}