{"id":95185,"date":"2026-04-10T09:00:00","date_gmt":"2026-04-10T16:00:00","guid":{"rendered":"https:\/\/github.blog\/?p=95185"},"modified":"2026-04-10T10:37:30","modified_gmt":"2026-04-10T17:37:30","slug":"github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli","status":"publish","type":"post","link":"https:\/\/github.blog\/ai-and-ml\/github-copilot\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\/","title":{"rendered":"GitHub Copilot CLI for Beginners: Getting started with GitHub Copilot CLI"},"content":{"rendered":"<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<html><body><p>Welcome to GitHub Copilot CLI for Beginners! In this series (<a href=\"https:\/\/www.youtube.com\/playlist?list=PL0lo9MOBetEHvO-spzKBAITkkTqv4RvNl\">available in video format<\/a> and on the GitHub Blog), we&rsquo;ll explore how to use your AI coding assistant directly in your terminal, along with tips and tricks on how to navigate the command line like a pro!<\/p>\n\n\n\n<p>In this blog, we&rsquo;ll walk through what <a href=\"https:\/\/github.com\/features\/copilot\/cli?utm_source=blog-cli-beginners-ep1-features-cta&amp;utm_medium=blog&amp;utm_campaign=dev-pod-copilot-cli-2026\">GitHub Copilot CLI<\/a> is, how it works, and how to get started. You&rsquo;ll learn how to install it using npm, authenticate with your GitHub account, grant folder permissions, and run your first prompts to generate code directly from the terminal.<\/p>\n\n\n\n<p>Let&rsquo;s get started!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-github-copilot-cli\">What is GitHub Copilot CLI?<\/h2>\n\n\n\n<p>The GitHub Copilot CLI brings Copilot&rsquo;s agentic AI capabilities right into the command-line interface (CLI), becoming like any terminal or console based tool you use (with the full context of your repos)!<\/p>\n\n\n\n<p>What makes agents so special is their ability to perform tasks like building code and running tests autonomously, so you can build iteratively. They can even self-correct and fix errors without needing a human to prompt them.<\/p>\n\n\n\n<p>This means you can assign tasks to Copilot, focus on other to-do list items, and then review the results and request additional changes from the terminal&mdash;all without having to interrupt your workflow or switch tools. (You can even delegate tasks to Copilot Cloud agent from inside the CLI, more on this later.)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-installing-copilot-cli\">Installing Copilot CLI<\/h2>\n\n\n\n<p>Not surprisingly, the first step to using Copilot CLI is installation. The core cross-platform way&mdash;if you already have node&mdash;to do this is via npm, using:<\/p>\n\n\n<div class=\"wp-block-code-wrapper\">\n<pre class=\"wp-block-code language-plaintext\"><code>npm install -g @github\/copilot <\/code><\/pre>\n<clipboard-copy aria-label=\"Copy\" class=\"code-copy-btn\" data-copy-feedback=\"Copied!\" value=\"npm install -g @github\/copilot\" tabindex=\"0\" role=\"button\"><svg aria-hidden=\"true\" height=\"16\" viewbox=\"0 0 16 16\" version=\"1.1\" width=\"16\" class=\"octicon octicon-copy js-clipboard-copy-icon\"><path d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"><\/path><path d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"><\/path><\/svg><svg aria-hidden=\"true\" height=\"16\" viewbox=\"0 0 16 16\" version=\"1.1\" width=\"16\" class=\"octicon octicon-check js-clipboard-check-icon\"><path d=\"M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z\"><\/path><\/svg><\/clipboard-copy><\/div>\n\n\n<p>If you&rsquo;re using a package manager like WinGet or Homebrew, you can install Copilot CLI through those tools as well. (You&rsquo;ll want to consult those tools&rsquo; documentation for the exact specifics on how to do this.)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-getting-started-with-github-copilot-cli\">Getting started with GitHub Copilot CLI<\/h2>\n\n\n\n<p>Once you install the product, you can launch it by typing &ldquo;Copilot&rdquo; in your command line. There are numerous switches you can use, which we&rsquo;ll cover later in the series.<\/p>\n\n\n\n<p>If it&rsquo;s your first time in the terminal, you&rsquo;ll need to log in with your GitHub credentials.<\/p>\n\n\n<div class=\"wp-block-code-wrapper\">\n<pre class=\"wp-block-code language-plaintext\"><code>\/login<\/code><\/pre>\n<clipboard-copy aria-label=\"Copy\" class=\"code-copy-btn\" data-copy-feedback=\"Copied!\" value=\"\/login\" tabindex=\"0\" role=\"button\"><svg aria-hidden=\"true\" height=\"16\" viewbox=\"0 0 16 16\" version=\"1.1\" width=\"16\" class=\"octicon octicon-copy js-clipboard-copy-icon\"><path d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"><\/path><path d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"><\/path><\/svg><svg aria-hidden=\"true\" height=\"16\" viewbox=\"0 0 16 16\" version=\"1.1\" width=\"16\" class=\"octicon octicon-check js-clipboard-check-icon\"><path d=\"M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z\"><\/path><\/svg><\/clipboard-copy><\/div>\n\n\n<p>This will:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Tie the client to your Copilot account.<\/li>\n\n\n\n<li>Connect the readonly GitHub MCP server, which grants access to resources on GitHub. (Don&rsquo;t worry, we&rsquo;ll cover MCP later in the series as well!)<\/li>\n<\/ul>\n\n\n\n<p>When using Copilot, you need to grant access to the folder for Copilot to be able to explore and potentially modify files. You can do this for only this session or save this setting to apply to later sessions, too. This will allow you to launch Copilot again in the future, without having to keep approving it for the same project.<\/p>\n\n\n\n<p>Once you&rsquo;ve done that, you can start talking to Copilot, asking it questions, and request code or other tasks.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-use-cases-what-you-can-do-with-copilot-cli\">Use cases: What you can do with Copilot CLI<\/h2>\n\n\n\n<p>Here are just a few GitHub Copilot CLI use cases. (There are many more covered in the <a href=\"https:\/\/github.blog\/ai-and-ml\/github-copilot-cli-101-how-to-use-github-copilot-from-the-command-line\/\">GitHub Copilot CLI 101 blog<\/a>!)<\/p>\n\n\n\n<p><strong>Ask for an overview of the project<\/strong>: Copilot will explore, open important files, and report back with its findings.<\/p>\n\n\n<div class=\"wp-block-code-wrapper\">\n<pre class=\"wp-block-code language-plaintext\"><code>Give me an overview of this project <\/code><\/pre>\n<clipboard-copy aria-label=\"Copy\" class=\"code-copy-btn\" data-copy-feedback=\"Copied!\" value=\"Give me an overview of this project\" tabindex=\"0\" role=\"button\"><svg aria-hidden=\"true\" height=\"16\" viewbox=\"0 0 16 16\" version=\"1.1\" width=\"16\" class=\"octicon octicon-copy js-clipboard-copy-icon\"><path d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"><\/path><path d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"><\/path><\/svg><svg aria-hidden=\"true\" height=\"16\" viewbox=\"0 0 16 16\" version=\"1.1\" width=\"16\" class=\"octicon octicon-check js-clipboard-check-icon\"><path d=\"M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z\"><\/path><\/svg><\/clipboard-copy><\/div>\n\n\n<p><strong>Ask for code, such as a new endpoint<\/strong>: Copilot will look at the project, find existing documentation and examples, and try to follow the practices it sees. Again, it will ask for permission to create the file.<\/p>\n\n\n<div class=\"wp-block-code-wrapper\">\n<pre class=\"wp-block-code language-plaintext\"><code>Let&rsquo;s add a new endpoint to return all categories<\/code><\/pre>\n<clipboard-copy aria-label=\"Copy\" class=\"code-copy-btn\" data-copy-feedback=\"Copied!\" value=\"Let&rsquo;s add a new endpoint to return all categories\" tabindex=\"0\" role=\"button\"><svg aria-hidden=\"true\" height=\"16\" viewbox=\"0 0 16 16\" version=\"1.1\" width=\"16\" class=\"octicon octicon-copy js-clipboard-copy-icon\"><path d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"><\/path><path d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"><\/path><\/svg><svg aria-hidden=\"true\" height=\"16\" viewbox=\"0 0 16 16\" version=\"1.1\" width=\"16\" class=\"octicon octicon-check js-clipboard-check-icon\"><path d=\"M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z\"><\/path><\/svg><\/clipboard-copy><\/div>\n\n\n<p><strong>Delegate tasks to Copilot cloud agent<\/strong>: For well-defined tasks, you can delegate to Copilot cloud agent right from the CLI. Copilot will preserve the context from your current session, create a new branch, open a draft pull request, and make the requested changes in the background before requesting your review.<\/p>\n\n\n<div class=\"wp-block-code-wrapper\">\n<pre class=\"wp-block-code language-plaintext\"><code>\/delegate Let&rsquo;s deal with issue #14 to add the rest of the CRUD endpoints to games<\/code><\/pre>\n<clipboard-copy aria-label=\"Copy\" class=\"code-copy-btn\" data-copy-feedback=\"Copied!\" value=\"\/delegate Let&rsquo;s deal with issue #14 to add the rest of the CRUD endpoints to games\" tabindex=\"0\" role=\"button\"><svg aria-hidden=\"true\" height=\"16\" viewbox=\"0 0 16 16\" version=\"1.1\" width=\"16\" class=\"octicon octicon-copy js-clipboard-copy-icon\"><path d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"><\/path><path d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"><\/path><\/svg><svg aria-hidden=\"true\" height=\"16\" viewbox=\"0 0 16 16\" version=\"1.1\" width=\"16\" class=\"octicon octicon-check js-clipboard-check-icon\"><path d=\"M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z\"><\/path><\/svg><\/clipboard-copy><\/div>\n\n\n<p>Of course, one of the best ways to explore what you can do with Copilot CLI is to simply ask Copilot. It can look through its own documentation and provide guidance on the best ways to interact with it and explore.<\/p>\n\n\n\n<p>Tune in for the next lesson in the series which covers using two different modes: interactive mode to have GitHub Copilot run your project locally or non-interactive mode with the <code>-p<\/code> flag for quick summaries without leaving your shell context.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-take-this-with-you\">Take this with you<\/h2>\n\n\n\n<p>Bringing agentic AI right to your terminal opens a whole new way to learn, experiment, and get things done without ever breaking your flow. Keep an eye out for more <a href=\"https:\/\/www.youtube.com\/playlist?list=PL0lo9MOBetEHvO-spzKBAITkkTqv4RvNl\">videos<\/a> in the GitHub Copilot CLI for Beginners series, where we&rsquo;ll learn about:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Interactive vs non-interactive modes<\/li>\n\n\n\n<li>Copilot CLI slash commands<\/li>\n\n\n\n<li>Using MCP servers with Copilot CLI<\/li>\n\n\n\n<li>And more!<\/li>\n<\/ul>\n\n\n\n<p>Happy coding!<\/p>\n\n\n\n<div class=\"wp-block-group post-content-cta has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<p><strong>Looking to try GitHub Copilot CLI?<\/strong> <a href=\"https:\/\/docs.github.com\/copilot\/concepts\/agents\/about-copilot-cli\">Read the Docs<\/a> and <a href=\"https:\/\/github.com\/features\/copilot\/cli?utm_source=blog-cli-beginners-ep1-features-cta&amp;utm_medium=blog&amp;utm_campaign=dev-pod-copilot-cli-2026\">get started today<\/a>.<\/p>\n<\/div>\n\n\n\n<p><strong>More resources to explore:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.youtube.com\/playlist?list=PL0lo9MOBetEHvO-spzKBAITkkTqv4RvNl\">GitHub Copilot CLI for Beginners video series<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/github.blog\/ai-and-ml\/github-copilot-cli-101-how-to-use-github-copilot-from-the-command-line\/?utm_source=blog-announcement-cli-tutorial&amp;utm_medium=blog&amp;utm_campaign=universe25post\">GitHub Copilot CLI 101: How to use GitHub Copilot from the command line<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/docs.github.com\/en\/copilot\/how-tos\/copilot-cli\/cli-best-practices?utm_campaign=copilot-brand&amp;utm_medium=sem&amp;utm_source=google&amp;ocid=AIDcmmh2h80ugd_SEM__k_CjwKCAjw-dfOBhAjEiwAq0RwI0TIeyL9bjDmXlY26JKPbDvHGzBcaZUa4LR8u8SJuGbIke6e7U2YXRoCzGQQAvD_BwE_k_\">Best practices for GitHub Copilot CLI<\/a><\/li>\n<\/ul>\n<\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>GitHub for Beginners: Getting started with the GitHub Copilot CLI, a step-by-step tutorial.<\/p>\n","protected":false},"author":2279,"featured_media":95197,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_gh_post_show_toc":"yes","_gh_post_is_no_robots":"","_gh_post_is_featured":"yes","_gh_post_is_excluded":"","_gh_post_is_unlisted":"","_gh_post_related_link_1":"","_gh_post_related_link_2":"","_gh_post_related_link_3":"","_gh_post_sq_img":"https:\/\/github.blog\/wp-content\/uploads\/2026\/01\/CLI-Square.jpg","_gh_post_sq_img_id":"93504","_gh_post_cta_title":"","_gh_post_cta_text":"","_gh_post_cta_link":"","_gh_post_cta_button":"","_gh_post_recirc_hide":"","_gh_post_recirc_col_1":"","_gh_post_recirc_col_2":"","_gh_post_recirc_col_3":"","_gh_post_recirc_col_4":"","_featured_video":"https:\/\/www.youtube.com\/watch?v=BDxRhhs36ns&list=PL0lo9MOBetEHvO-spzKBAITkkTqv4RvNl","_gh_post_additional_query_params":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"_links_to":"","_links_to_target":""},"categories":[3293,3294,3295,3303],"tags":[2535,3754,3842],"coauthors":[3493],"class_list":["post-95185","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-and-ml","category-generative-ai","category-github-copilot","category-github-education","tag-github-copilot","tag-github-copilot-cli","tag-github-copilot-cli-for-beginners"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>GitHub Copilot CLI for Beginners: Getting started with GitHub Copilot CLI - The GitHub Blog<\/title>\n<meta name=\"description\" content=\"GitHub for Beginners: Getting started with the GitHub Copilot CLI, a step-by-step tutorial.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/github.blog\/ai-and-ml\/github-copilot\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"GitHub Copilot CLI for Beginners: Getting started with GitHub Copilot CLI\" \/>\n<meta property=\"og:description\" content=\"GitHub for Beginners: Getting started with the GitHub Copilot CLI, a step-by-step tutorial.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/github.blog\/ai-and-ml\/github-copilot\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\/\" \/>\n<meta property=\"og:site_name\" content=\"The GitHub Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-04-10T16:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-10T17:37:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/github.blog\/wp-content\/uploads\/2026\/04\/Episode-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Christopher Harrison\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Christopher Harrison\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/github.blog\\\/ai-and-ml\\\/github-copilot\\\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/github.blog\\\/ai-and-ml\\\/github-copilot\\\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\\\/\"},\"author\":{\"name\":\"Christopher Harrison\",\"@id\":\"https:\\\/\\\/github.blog\\\/#\\\/schema\\\/person\\\/e0e3ce7aee5bfe3284c624b7524e3948\"},\"headline\":\"GitHub Copilot CLI for Beginners: Getting started with GitHub Copilot CLI\",\"datePublished\":\"2026-04-10T16:00:00+00:00\",\"dateModified\":\"2026-04-10T17:37:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/github.blog\\\/ai-and-ml\\\/github-copilot\\\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\\\/\"},\"wordCount\":804,\"image\":{\"@id\":\"https:\\\/\\\/github.blog\\\/ai-and-ml\\\/github-copilot\\\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/github.blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/Episode-1.png?fit=1280%2C720\",\"keywords\":[\"GitHub Copilot\",\"GitHub Copilot CLI\",\"GitHub Copilot CLI for Beginners\"],\"articleSection\":[\"AI &amp; ML\",\"Generative AI\",\"GitHub Copilot\",\"GitHub Education\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/github.blog\\\/ai-and-ml\\\/github-copilot\\\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\\\/\",\"url\":\"https:\\\/\\\/github.blog\\\/ai-and-ml\\\/github-copilot\\\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\\\/\",\"name\":\"GitHub Copilot CLI for Beginners: Getting started with GitHub Copilot CLI - The GitHub Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/github.blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/github.blog\\\/ai-and-ml\\\/github-copilot\\\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/github.blog\\\/ai-and-ml\\\/github-copilot\\\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/github.blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/Episode-1.png?fit=1280%2C720\",\"datePublished\":\"2026-04-10T16:00:00+00:00\",\"dateModified\":\"2026-04-10T17:37:30+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/github.blog\\\/#\\\/schema\\\/person\\\/e0e3ce7aee5bfe3284c624b7524e3948\"},\"description\":\"GitHub for Beginners: Getting started with the GitHub Copilot CLI, a step-by-step tutorial.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/github.blog\\\/ai-and-ml\\\/github-copilot\\\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/github.blog\\\/ai-and-ml\\\/github-copilot\\\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/github.blog\\\/ai-and-ml\\\/github-copilot\\\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\\\/#primaryimage\",\"url\":\"https:\\\/\\\/github.blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/Episode-1.png?fit=1280%2C720\",\"contentUrl\":\"https:\\\/\\\/github.blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/Episode-1.png?fit=1280%2C720\",\"width\":1280,\"height\":720,\"caption\":\"Header showing \\\"What is Copilot CLI?\\\" and GitHub Copilot iconography\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/github.blog\\\/ai-and-ml\\\/github-copilot\\\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/github.blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AI &amp; ML\",\"item\":\"https:\\\/\\\/github.blog\\\/ai-and-ml\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"GitHub Copilot\",\"item\":\"https:\\\/\\\/github.blog\\\/ai-and-ml\\\/github-copilot\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"GitHub Copilot CLI for Beginners: Getting started with GitHub Copilot CLI\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/github.blog\\\/#website\",\"url\":\"https:\\\/\\\/github.blog\\\/\",\"name\":\"The GitHub Blog\",\"description\":\"Updates, ideas, and inspiration from GitHub to help developers build and design software.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/github.blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/github.blog\\\/#\\\/schema\\\/person\\\/e0e3ce7aee5bfe3284c624b7524e3948\",\"name\":\"Christopher Harrison\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e196df5ac94dde39f50b563ac78bdfff24d307a199c2add2e3689e74e5d6a8da?s=96&d=mm&r=gcfe3e7011acd5f1b71e1022b178db9e1\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e196df5ac94dde39f50b563ac78bdfff24d307a199c2add2e3689e74e5d6a8da?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e196df5ac94dde39f50b563ac78bdfff24d307a199c2add2e3689e74e5d6a8da?s=96&d=mm&r=g\",\"caption\":\"Christopher Harrison\"},\"description\":\"Senior Developer Advocate, GitHub\",\"url\":\"https:\\\/\\\/github.blog\\\/author\\\/geektrainer\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"GitHub Copilot CLI for Beginners: Getting started with GitHub Copilot CLI - The GitHub Blog","description":"GitHub for Beginners: Getting started with the GitHub Copilot CLI, a step-by-step tutorial.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/github.blog\/ai-and-ml\/github-copilot\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\/","og_locale":"en_US","og_type":"article","og_title":"GitHub Copilot CLI for Beginners: Getting started with GitHub Copilot CLI","og_description":"GitHub for Beginners: Getting started with the GitHub Copilot CLI, a step-by-step tutorial.","og_url":"https:\/\/github.blog\/ai-and-ml\/github-copilot\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\/","og_site_name":"The GitHub Blog","article_published_time":"2026-04-10T16:00:00+00:00","article_modified_time":"2026-04-10T17:37:30+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/github.blog\/wp-content\/uploads\/2026\/04\/Episode-1.png","type":"image\/png"}],"author":"Christopher Harrison","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Christopher Harrison","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/github.blog\/ai-and-ml\/github-copilot\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\/#article","isPartOf":{"@id":"https:\/\/github.blog\/ai-and-ml\/github-copilot\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\/"},"author":{"name":"Christopher Harrison","@id":"https:\/\/github.blog\/#\/schema\/person\/e0e3ce7aee5bfe3284c624b7524e3948"},"headline":"GitHub Copilot CLI for Beginners: Getting started with GitHub Copilot CLI","datePublished":"2026-04-10T16:00:00+00:00","dateModified":"2026-04-10T17:37:30+00:00","mainEntityOfPage":{"@id":"https:\/\/github.blog\/ai-and-ml\/github-copilot\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\/"},"wordCount":804,"image":{"@id":"https:\/\/github.blog\/ai-and-ml\/github-copilot\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\/#primaryimage"},"thumbnailUrl":"https:\/\/github.blog\/wp-content\/uploads\/2026\/04\/Episode-1.png?fit=1280%2C720","keywords":["GitHub Copilot","GitHub Copilot CLI","GitHub Copilot CLI for Beginners"],"articleSection":["AI &amp; ML","Generative AI","GitHub Copilot","GitHub Education"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/github.blog\/ai-and-ml\/github-copilot\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\/","url":"https:\/\/github.blog\/ai-and-ml\/github-copilot\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\/","name":"GitHub Copilot CLI for Beginners: Getting started with GitHub Copilot CLI - The GitHub Blog","isPartOf":{"@id":"https:\/\/github.blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/github.blog\/ai-and-ml\/github-copilot\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\/#primaryimage"},"image":{"@id":"https:\/\/github.blog\/ai-and-ml\/github-copilot\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\/#primaryimage"},"thumbnailUrl":"https:\/\/github.blog\/wp-content\/uploads\/2026\/04\/Episode-1.png?fit=1280%2C720","datePublished":"2026-04-10T16:00:00+00:00","dateModified":"2026-04-10T17:37:30+00:00","author":{"@id":"https:\/\/github.blog\/#\/schema\/person\/e0e3ce7aee5bfe3284c624b7524e3948"},"description":"GitHub for Beginners: Getting started with the GitHub Copilot CLI, a step-by-step tutorial.","breadcrumb":{"@id":"https:\/\/github.blog\/ai-and-ml\/github-copilot\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/github.blog\/ai-and-ml\/github-copilot\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/github.blog\/ai-and-ml\/github-copilot\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\/#primaryimage","url":"https:\/\/github.blog\/wp-content\/uploads\/2026\/04\/Episode-1.png?fit=1280%2C720","contentUrl":"https:\/\/github.blog\/wp-content\/uploads\/2026\/04\/Episode-1.png?fit=1280%2C720","width":1280,"height":720,"caption":"Header showing \"What is Copilot CLI?\" and GitHub Copilot iconography"},{"@type":"BreadcrumbList","@id":"https:\/\/github.blog\/ai-and-ml\/github-copilot\/github-copilot-cli-for-beginners-getting-started-with-github-copilot-cli\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/github.blog\/"},{"@type":"ListItem","position":2,"name":"AI &amp; ML","item":"https:\/\/github.blog\/ai-and-ml\/"},{"@type":"ListItem","position":3,"name":"GitHub Copilot","item":"https:\/\/github.blog\/ai-and-ml\/github-copilot\/"},{"@type":"ListItem","position":4,"name":"GitHub Copilot CLI for Beginners: Getting started with GitHub Copilot CLI"}]},{"@type":"WebSite","@id":"https:\/\/github.blog\/#website","url":"https:\/\/github.blog\/","name":"The GitHub Blog","description":"Updates, ideas, and inspiration from GitHub to help developers build and design software.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/github.blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/github.blog\/#\/schema\/person\/e0e3ce7aee5bfe3284c624b7524e3948","name":"Christopher Harrison","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e196df5ac94dde39f50b563ac78bdfff24d307a199c2add2e3689e74e5d6a8da?s=96&d=mm&r=gcfe3e7011acd5f1b71e1022b178db9e1","url":"https:\/\/secure.gravatar.com\/avatar\/e196df5ac94dde39f50b563ac78bdfff24d307a199c2add2e3689e74e5d6a8da?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e196df5ac94dde39f50b563ac78bdfff24d307a199c2add2e3689e74e5d6a8da?s=96&d=mm&r=g","caption":"Christopher Harrison"},"description":"Senior Developer Advocate, GitHub","url":"https:\/\/github.blog\/author\/geektrainer\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/github.blog\/wp-content\/uploads\/2026\/04\/Episode-1.png?fit=1280%2C720","jetpack_shortlink":"https:\/\/wp.me\/pamS32-oLf","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/posts\/95185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/users\/2279"}],"replies":[{"embeddable":true,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/comments?post=95185"}],"version-history":[{"count":6,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/posts\/95185\/revisions"}],"predecessor-version":[{"id":95198,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/posts\/95185\/revisions\/95198"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/media\/95197"}],"wp:attachment":[{"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/media?parent=95185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/categories?post=95185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/tags?post=95185"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/coauthors?post=95185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}