Тёмный

Flutter SDK Installation in MAC 

CodeCraze
Подписаться 36
Просмотров 807
50% 1

Hello Guys Please find all details for installing Flutter SDK in MAC
--------------------------------------------------------------------------------
Flutter Installation and setup Mac
Step 1:
Download the flutter SDK from flutter official site.
Step 2.
Extract the downloaded SDKs to preferred location.
Step 3.
-----Add PATH/ENV Variable in MAC ----
step 1.
check the bash type
cmm::echo $SHELL
output you might see :: bin/zsh means Z shell
bin/bash means Bash shell
step 2.
create a file according to the bash type as given below
If you’re using Bash, then edit $HOME/.bash_profile or $HOME/.bashrc.
If you’re using Z Shell, then edit $HOME/.zshrc.
step 3.
create rc file as shown in above step 2
cmd :: touch .zshrc
step 4.
now edit the file by using below cmd or hit COMMAND+SHIFT+DOT to see hidden files and edit it.
Add the path inside file as given below
export PATH="$PATH:`pwd`/flutter/bin"
`path` : replace this with your path of SDK file kept here/flutter/bin
step 5.
after completion of step 4 hit the below cmd to add the path in env
cmd::source $HOME .zshrc
cmd:: source $HOME .bashrc
step 6.
Now check whether path is added to env
cmd :: echo $PATH
if you see the path which you have given in step 4 means , your path has been added successfully
If your getting error after doing all steps and flutter is not working please check out below note.
NOTE: If you’re using APPLE’s chipset make sure to hit the command given below.
cmd ::sudo softwareupdate --install-rosetta --agree-to-license

Опубликовано:

 

20 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 5   
Далее
Android studio installation in Mac
4:10
Просмотров 30
Как не носить с собой вещи
00:31
Просмотров 876 тыс.
How to get skins for FREE? #standoff #skins #coins
00:34
Method Channel Intro Flutter
10:46
Просмотров 1,1 тыс.
flutter: command not found on mac M1 for -zsh
3:13
Просмотров 15 тыс.
How to Install Flutter 3.x on a Mac | Full install
10:24
How to setup Flutter SDK in MacOS
10:30
Просмотров 4,6 тыс.
Как не носить с собой вещи
00:31
Просмотров 876 тыс.