📱

Get Our Mobile App

Take your business learning on the go!

Download on the App StoreGet it on Google Play

Github Copilot CLI: NEW AI Coding Agent is Quite Powerful, Fast, & Free! (Beats ClaudeCode)

WorldofAI10:08

Transcription

Last night I had shared some exciting news where GitHub had officially entered the CLI race with the launch of GitHub Copilot CLI, now in public preview. This tool lets developers build, debug, and deploy with the GitHub Copilot coding agent directly within your terminal. And it's going to make development faster and smoother than ever before.

It's designed to bring AI-powered coding assistance straight to where you work the most, the command line. And with GitHub Copilot CLI, it integrates seamlessly into your workflow, whether you're prototyping, debugging, or deploying. But with this new CLI tool, you have it so that you have a terminal-native deployment where you can work with the Copilot coding agent directly within your command line. You can even integrate this with different sorts of IDEs like Zed, VS Code, even Cursor.

Now, there's also GitHub integration out of the box where you can access all of your repositories directly from the CLI. You have capabilities where you can build, edit, as well as debug, refactor code with AI. There's NCP support and it also has full context of your codebase.

Now, like I'd mentioned, this Copilot CLI tool is in public preview and is subject to change in the coming weeks, but it's something that you can access with the GitHub Copilot Pro plan, GitHub Copilot Pro Plus, GitHub Copilot Business, as well as enterprise plans. But you also have a free tier where you get up to 2,000 code completions and 50 chat premium requests per month, which means that you get access to Cloud 4.5 Sonnet or Sonnet, sorry, not 4.5. And you also have it so that you can configure other models directly with it.

And I remember a couple days ago I made a video on this toolkit developed by GitHub, which is open-source that facilitates spec-driven development. Overall, it enhances the code generation process. And now what you can do with this is have it easily integrated with the GitHub Copilot CLI. So you're not only going to be able to use the CLI for free, but you're also going to be able to enhance generations with this spec-driven development kit.

If you've been hearing all the buzz about AI agents, but wondering what really works, that is exactly why today I'm excited to showcase this guide by HubSpot called "Master AI Agents in 2025: The Strategic Advantage." This free guide is written by HubSpot's CMO and CVP of Marketing. It cuts through the hype and reveals exactly where to start, which AI agent application delivers real value, and how to implement them without replacing jobs. Inside, you will learn how to automate marketing workflows with AI-powered content creation and analytics, accelerate sales with smart prospect research and follow-ups, and streamline operations with agents that handle documentation and real-time analytics. You'll even get an implementation blueprint showing you how to deploy and measure AI agents for immediate ROI while building a long-term automation strategy. So, don't just watch the AI revolution, lead it. Download this free guide today and discover the strategic advantage AI agents can bring to your business in 2025. HubSpot Media: Smarter tools, stronger strategies, future-ready businesses.

But now, let's actually get started. The supported platforms are on all operating systems: Linux, Mac OS, as well as Windows. And there's a couple of prerequisites that you're going to need to have fulfilled beforehand. Make sure you have Node.js JS version 22 or above, npm installed, as well as making sure that if you're on Windows, make sure you have PowerShell V6 or higher. And also make sure you have a GitHub Copilot account, which you can get for free. But if you're on the Pro tier, it's only $10 a month, which is pretty decent. I don't have this because I use other coding agents, but with the free tier, you're going to be able to get a lot out of it, and you're going to be able to use state-of-the-art models.

But once all the prerequisites are fulfilled, what I want you to do is just simply go ahead and open up your command prompt. And once you have it opened up, you can then install it using the npm command. So simply go ahead and copy this, paste it into your command prompt, and click enter. This will then install it globally onto your operating system. And once this is finished, you can launch the CLI using the Copilot command. So now that it is installed, we can paste in "copilot" within our terminal. And it should start up with this beautiful animation.

Now, first things first, you're going to need to go ahead and authenticate it with the Copilot plan. And right now, it is asking for permissions. So, we're going to go ahead and fulfill these different requests. To authenticate, just simply click into your terminal and click "login." And then click enter. And then you can simply go ahead and log in with your account. And there we go. It looks like we're now connected to the GitHub MCP server. So, there's going to be a constant data connection to our GitHub repos.

But now what you can do is simply use the slash command within the terminal to get a better idea of all the different commands. You can see that there's global shortcuts, motion shortcuts. You have different instructions as to how you can use your predefined rules as well as available commands that you would typically use within any sort of CLI tool, like adding a directory is something new that you would use with GitHub Copilot, and this way you can directly work with that integration with GitHub, as in work with that repository.

Something to also note is that the Copilot CLI also does a great job with context. It is one of its main features where it has the ability to thoroughly analyze your overall codebase. So this is where you can first start off by indexing your project directory or any repo that you have.

Now let's get started with the agent testing. This is where within the CLI, I am requesting it to create a browser-based operating system that has many features, and I'm also requesting that it should be feature-rich. Now, the reason why we're sending in this prompt and why we're testing it on this specific prompt is because this is a really thorough prompt that is essentially going to be able to assess how well the model or the agents are at designing as well as having full-stack knowledge and its coding capabilities while working throughout the terminal. It is going to be able to problem-solve for building this complex web-based application, and we're going to be able to see how well it is in terms of deploying multiple agents in the terminal to execute a task like this. So let's see what it actually ends up generating for us.

So I was getting a couple of errors and this was because I didn't have the latest version of PowerShell installed. So I simply went ahead and updated it, and now it looks like I have now generated the browser-based operating system, and it was able to thoroughly work on generating the code using the Cloud for Sonnet model, and you can see that it did a great job in generating all the components. We're going to now take a look at it within our browser, but not just that, guys, it also wrote a lot of lines of code, which is really impressive.

So, I've opened up the browser-based operating system, and it's pretty cool how it actually added an authentication. We can go ahead and actually continue as a guest, and there's a notification that welcomes us. And this is our webOS browser-based operating system. On the bottom right, you have the clock, similar to how you would have it with Windows. You have a battery. You actually have a volume tab. I don't know if this works. Let me test it out. Oh, it actually works. That's cool, and it actually works based off the volume slider. So that's pretty cool.

There's also different components that have been added, like a text editor. So if I actually click on this, there's the ability to actually configure and write things. And you can see that I can actually save the file, and it recognizes that it was 12 characters. So now let's actually close this. Let's right-click, and you can see that you have the ability to add new folders, new files, refresh the system. You also have it so that there's personalization, system information gives you an idea of like the runtime and stuff. You have the ability to add widgets, edit them.

And if we actually go over to the start menu, there's a couple of different apps that it has developed: a web browser, which is pretty cool. The drag-and-drop functionality is awesome. You also have it so that there's a file management system, but I doubt that all of these things actually work. But there's also a system settings tab which gives you a good idea of everything about the browser operator. You also have different apps like a calculator, which is pretty cool. There's a text editor, a media player, and then there's also an image viewer. There's a task list that gives you an idea of what's running. And then there's the terminal. This is something that is pretty cool. I don't know if it actually works, but this is all fully generated with the Copilot CLI.

If you like this video and would love to support the channel, you can consider donating to my channel through the Super Thanks option below. Or you can consider joining our private Discord where you can access multiple subscriptions to different AI tools for free on a monthly basis, plus daily AI news and exclusive content, plus a lot more.

But that's basically it, guys, for today's video on the GitHub Copilot CLI. It is a competent coding agent, as I was able to test it out in different areas from refactoring to debugging code, and it did a pretty decent job with it. But overall, if you're going to be able to use this with the Pro Tier, I believe it is a good CLI tool that you can get started with. It truly depends on your preference at this point, 'cause all of them perform basically the same in my opinion. But with the free tier, you're going to be able to get a decent amount of generations out of it. So, make the most out of it if you are low on funds or if you want to just access something and try it out for free.

But with that thought, guys, thank you guys so much for watching. I'll leave all these links in the description below. Make sure you subscribe to the newsletter, join our second channel if you haven't already, join the Discord, follow me on Twitter, and lastly, make sure you guys subscribe, turn on the notification bell, like this video, and please take a look at our previous videos because there's a lot of content that you'll truly benefit from. But with that thought, guys, thank you guys so much for watching. Have an amazing day. Spread positivity, and I'll see you guys really shortly. He support.