개발자 기초 상식/The Unix Command Line2 맥에서 깃Git 설치하기 | xcrun: error 발생시 대처| git 버전 확인 / 에러 발생시 맥에는 git이 기본 설치되어 있다. 현재 컴퓨터에 있는 git의 버젼이 무엇인지 terminal에 물어본다 하지만 맥북인 경우 에러가 발생할 수 있다. 이런 경우 xcode command Line developer tool을 깔아줘야한다. xcode-select --install https://apple.stackexchange.com/questions/254380/why-am-i-getting-an-invalid-active-developer-path-when-attempting-to-use-git-a xcode 설치후 터미널에 git --version을 치면 지금 현재 버전이 나온다. git 설치하기 git이 설치되어 있지 않으면 Homebrew를 통해 git을 설.. 2021. 9. 16. 터미널 기본 명령어 터미널 여는 법 command + space 누르면 spotlight search가 나오고 거기서 terminal을 친다. 그러면 터미널이 열린다. ~ (tilde) 표시는 현재 root directory(user)에 있다는 의미이다. 터미널 명령어 directory pwd: print work directory 현재 있는 directory 알려줌 뭔가 지우기 전에는 지금 어디있는지 확인하고 지우기 ls: list 현재 디렉토리 안에 있는 파일 목록을 보여준다. 현재 user directory 안에 있어서 그 안에 있는 내용이 나옴 cd: change directory 특정 폴더 이동 root directory--> Pictures --> Screenshots 까지 이동해보기 1) 하나씩 적어주며 이동 .. 2021. 9. 16. 이전 1 다음