WEBVTT

00:00.240 --> 00:01.073
-: Hey, welcome back.

00:01.073 --> 00:03.720
So in this video, before getting started with Copilot,

00:03.720 --> 00:05.460
we need to actually install it.

00:05.460 --> 00:07.530
So there's two things that we're gonna need to install

00:07.530 --> 00:09.390
to use GitHub Copilot.

00:09.390 --> 00:11.040
The first thing is we're gonna download

00:11.040 --> 00:13.650
and install something called Visual Studio Code,

00:13.650 --> 00:16.080
which is a coding editor, open sourced

00:16.080 --> 00:18.450
and created by Microsoft.

00:18.450 --> 00:20.700
After you've downloaded that, just make sure

00:20.700 --> 00:22.470
that you've got it installed on a desktop.

00:22.470 --> 00:25.230
So it'll be fairly simple for Windows and Mac.

00:25.230 --> 00:27.300
I'm currently running a Mac setup.

00:27.300 --> 00:30.180
Once you've got it installed, you should be able to open

00:30.180 --> 00:33.120
an interface that looks a little bit like this.

00:33.120 --> 00:35.310
And notice on the left side,

00:35.310 --> 00:37.620
we've got all these different toggles.

00:37.620 --> 00:38.760
So what I want you to do

00:38.760 --> 00:41.340
is click on the one called Extensions.

00:41.340 --> 00:43.860
And basically how it works is,

00:43.860 --> 00:46.710
Visual Studio Code has extensions

00:46.710 --> 00:49.950
that allow us to basically extend

00:49.950 --> 00:52.080
the functionality of the VS code.

00:52.080 --> 00:53.970
And one of these is GitHub Copilot.

00:53.970 --> 00:55.500
So what I want you to do

00:55.500 --> 00:58.500
is basically go into the Extensions marketplace

00:58.500 --> 01:00.690
and find this GitHub Copilot.

01:00.690 --> 01:02.463
You'll then need to click install,

01:04.170 --> 01:06.243
and after that is installed,

01:07.830 --> 01:10.980
you'll then need to validate that it's set up correctly.

01:10.980 --> 01:13.800
It may send you through some type of installation.

01:13.800 --> 01:17.160
And as well as that, on your GitHub account,

01:17.160 --> 01:18.120
you'll need to make sure

01:18.120 --> 01:21.960
that you have some sort of Copilot subscription.

01:21.960 --> 01:26.910
So if I go to my profile, go to settings,

01:26.910 --> 01:30.360
and then I go to Copilot.

01:30.360 --> 01:34.503
And you can find this in your github.com/settings/copilot.

01:35.340 --> 01:38.013
So what you wanna do is you want to go there,

01:38.970 --> 01:42.000
yeah, allow it to block suggestions from public code,

01:42.000 --> 01:45.360
allow it to use your own snippets,

01:45.360 --> 01:48.003
and then go to Billings and Plans.

01:49.828 --> 01:52.260
And you'll currently see there's this add-on.

01:52.260 --> 01:54.030
So I'm on a yearly plan,

01:54.030 --> 01:57.060
but you'll want to get this add-on called GitHub Copilot.

01:57.060 --> 02:00.990
And then as you install Visual Studio Code,

02:00.990 --> 02:04.650
it will ask you to install,

02:04.650 --> 02:06.570
to link with a GitHub profile.

02:06.570 --> 02:11.430
So make sure that you also have a github.com profile set up,

02:11.430 --> 02:13.920
and that you've got some valid billing on this,

02:13.920 --> 02:16.200
so that when you've installed VS Code,

02:16.200 --> 02:18.780
you've installed that VS Code extension,

02:18.780 --> 02:22.470
set up GitHub.com's /setting/billing.

02:22.470 --> 02:24.480
Make sure that you click on this add-on

02:24.480 --> 02:26.070
to install GitHub Copilot.

02:26.070 --> 02:28.740
And I pay for the annual, the annual pan,

02:28.740 --> 02:30.930
which is a $100,

02:30.930 --> 02:33.330
but you could pay monthly if you prefer to do that.

02:33.330 --> 02:35.970
And then in the next lesson, we'll get started

02:35.970 --> 02:38.310
with learning about what are the different types of prompts

02:38.310 --> 02:40.740
that we can use inside of GitHub Copilot.

02:40.740 --> 02:43.620
So some of these prompts might be to make functions,

02:43.620 --> 02:46.500
some of these might be to write parts of the code.

02:46.500 --> 02:48.930
And GitHub Copilot is really, really good

02:48.930 --> 02:50.340
at writing code for us.

02:50.340 --> 02:51.923
So I'll see you in the next one.
