Tutor: So how can you use GitHub Copilot?
Well, you can of course visit GitHub.com/features/Copilot,
the official website of GitHub Copilot.
And there you don't just find a button that gets you started
and provides you more instructions.
You'll also find this plans and pricing button or link,
because it's worth noting
that you can use GitHub Copilot for free.
You can get started with it for free.
Now, there are certain limitations, certain limits,
and you'll have to pay if you exceed those limits,
or you'll have to sign up for a paid plan
if you exceed those limits,
you'll not be charged automatically.
But those limits are actually pretty generous
and should already get you pretty far.
And if you find yourself exceeding those limits,
it's probably worth upgrading to the next plan,
the Pro plan, for example anyways,
and there also are other plans,
and on this page you also find a detailed comparison
of the different features
that are available in the different plans,
but the free plan should be pretty good for getting started
with GitHub Copilot.
On this page, you'll also find a list
of all the code editors and IDs where you can install
GitHub Copilot.
Though the best integration probably exists
for Visual Studio Code, since as mentioned,
GitHub Copilot is by the same team in the end.
And speaking of Visual Studio Code
and integrating GitHub Copilot, how do you do that?
Well, of course you should have Visual Studio
Code installed.
You can download it for free
for all operating systems from code.visualstudio.com.
And there you'll also find instructions
on how to install GitHub Copilot
or get started with the free version of GitHub Copilot.
And attached you'll find a link to that documentation page,
which guides you through the setup of GitHub Copilot
in VS Code, though it's really straightforward
because in VS Code, you should have this GitHub Copilot
button here in the top bar.
And if you can't see this, you should be able
to open the command center
or command palette as it's also called also by going
to view command palette.
And then in there enter, "Use AI features with Copilot
for free" or just, "Copilot."
And you'll find various Copilot related options there,
depending on whether you used Copilot before or not.
But if you click this icon here
or use this, use AI features with Copilot
for free command here, a GitHub Copilot window should open.
And of course the look of that window might also change
over time, but in there you should have a use
Copilot button or some install button,
and if you press that, it'll automatically download
and install all required Copilot extensions
and get you started with it.
Now, you will have to sign into GitHub,
into your GitHub account before you can use it though
so you do need such a GitHub account.
You can of course create one if you don't have one.
It is also free, but you will need to sign in
in order to install and use GitHub Copilot.
But then once you have that account
and once you are signed in,
everything will be downloaded for you.
Alternatively, you could also go to the extensions menu here
and search for GitHub Copilot in there.
And this will find you various GitHub Copilot extensions,
which you can also install manually if you want to.
But these are the extensions that have been installed
for you with help of that button we just clicked.
It's the GitHub Copilot and GitHub Copilot chat extension
at the point of time where I'm recording this.
Well, and with that, with that installed,
you are finally set and ready to go.
Now this button up here, which we used
for installing it also allows you to access
some of those Copilot features.
It also allows you to configure GitHub Copilot
or the way it completes your code
and in general manage its behavior.
But we'll get back to those settings a little bit later.
For now, let's get started
and let's write some code with GitHub Copilot.