GitHub Copilot

GitHub Copilot CLI로 터미널 명령어 마스터하기

Basic10기본 사용법

터미널 명령어가 기억나지 않을 때 Copilot CLI에게 물어보면 됩니다. 자연어로 설명하면 올바른 명령어를 제안해줘요.

GitHub Copilot 없다면? 이걸로도 돼요

GitHub Copilot 열기

github.com/features/copilot

STEP 1 / 4
1

STEP 1. GitHub Copilot CLI 설치하기

Terminal
npx -y @modelcontextprotocol/...
Need to install the following packages:
@modelcontextprotocol/server-filesystem
Ok to proceed? (y) y
✓ MCP server started
Waiting for connection...

터미널 → npm install -g @githubnext/github-copilot-cli → github-copilot-cli auth → 인증 완료

터미널을 열고 'npm install -g @githubnext/github-copilot-cli'를 입력해 설치합니다. Node.js가 없다면 nodejs.org에서 먼저 설치합니다. 설치 완료 후 'github-copilot-cli auth'를 입력해 GitHub 계정으로 인증합니다. 브라우저에서 인증 화면이 열리고 코드를 입력하면 연동됩니다. 설치 확인: 터미널에서 'ghcs --version'을 입력해 버전이 출력되면 성공입니다.

Mac에서 Homebrew가 설치되어 있다면 'brew install gh && gh extension install github/gh-copilot' 방식으로도 설치할 수 있어요.

이 단계를 완료했나요?