본문 바로가기
D.evelop/Git

[Git] Window에 Git세팅하기 (window terminal 설치)

by Danne 2022. 2. 8.

1. Window terminal(터미널)을 설치합니다. 

Microsoft : https://docs.microsoft.com/ko-kr/windows/terminal/install

 

Windows 터미널 설치

Windows 터미널을 설치하고 설정하는 방법을 알아봅니다.

docs.microsoft.com

필수는 아닌 거같으나, mac에서의 terminal사용이 편했던 기억으로 설치했습니다.

 

 

 

2. Git 설치

https://git-scm.com/downloads

 

Git - Downloads

Downloads macOS 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 exp

git-scm.com

일단 모두 기본 설정으로 설치했습니다.

 

 

3. Window terminal 실행

버전확인을하여 잘 설치됐는지 확인합니다.

git --version

아무데서나 확인하시면 됩니다.

 

 

4. 이름&이메일 등록

터미널에서 사용할 이름과 이메일을 등록합니다.

git config --global user.name "이름"
git config --global user.email "이메일"

 

원하는 파일(프로젝트)생성해서 git init 등등 명령어 사용하면 됩니다.

 

 

+기타 (node.js, npm설치)

git으로 라이브러리 또는 프레임워크(react vue.js 등)로 이루어진 프로젝트를 관리하고 싶어 노드js와 npm을 설치했습니다.

node.js 설치 (LTS버전으로)합니다.

설치 시 자동으로 npm도 함께 설치됩니다.

https://nodejs.org/ko/

 

Node.js

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

nodejs.org

node -v
npm -v

 

 

반응형

댓글