티스토리 뷰

windows10 환경에서 Flutter SDK를 다운로드 받고

 

환경변수 설정에서 사용자 환경변수 PATH에 경로를 지정해주고,

잘 설치가 완료되었는지 확인을 하려고 

콘솔창(cmd)에서 flutter --version 을 입력하니

 

ERROR: unable to find git in your path

메세지가 발생했다.

 

 

에러 문구에서 쉽게 유추할 수 있다시피

git이 설치되어있는 경우 정상적으로 설치가 되어있는지 확인하거나, 재설치를 하면 된다.

다운로드가 되어있지 않은 경우에는 아래의 git 홈페이지에서 git을 다운로드해주면 된다.

 

git-scm.com/downloads

 

Git - Downloads

Downloads Mac OS X Windows Linux/Unix Older releases are available and the Git source repository is on GitHub. GUI Clients Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for a platform-specific

git-scm.com

 

이제 다시 flutter --version을 입력하면 제대로 버전 정보가 출력되는 것을 볼 수 있다.

 

댓글
반응형
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함