Install and start GitHub Copilot CLI
Get Copilot into your terminal. Check Node.js, install the CLI, trust the folder, sign in, pick a model and ask your first question about the code in front of you.
You will learn:Install with npm (Node.js 22+), Homebrew, WinGet or the install scriptThe trusted-folder prompt and /loginChoosing a model with /modelAdding a file to the context with @path, and checking /usage
Related lessons: GitHub Copilot CLI: Install and Key Commands · Set Up GitHub Copilot in Your IDE · GitHub Copilot Plans: Free, Pro, Business and Enterprise