1 00:00:00,580 --> 00:00:02,270 ‫Let's install this SAM CLI, 2 00:00:02,270 --> 00:00:06,070 ‫so I'll do sam framework cli install on Google. 3 00:00:06,070 --> 00:00:08,130 ‫And this should give me the instructions to do it. 4 00:00:08,130 --> 00:00:11,450 ‫So for example, I have my instructions here on macOS, 5 00:00:11,450 --> 00:00:14,140 ‫but you can find the ones on Windows and Linux right here. 6 00:00:14,140 --> 00:00:16,380 ‫So I'm just going to follow these on macOS. 7 00:00:16,380 --> 00:00:20,190 ‫So I will scroll down and I will install Homebrew. 8 00:00:20,190 --> 00:00:22,560 ‫So Homebrew is already installed for me. 9 00:00:22,560 --> 00:00:24,430 ‫And then once I've installed Homebrew, 10 00:00:24,430 --> 00:00:26,470 ‫I just run these two commands. 11 00:00:26,470 --> 00:00:31,470 ‫So let me go into my CLI and run the brew tap aws/tap, 12 00:00:31,800 --> 00:00:34,270 ‫and then brew install sam-cli, 13 00:00:34,270 --> 00:00:37,570 ‫and that's all I needed to install my SAM CLI. 14 00:00:37,570 --> 00:00:38,780 ‫So I'll wait a little bit, 15 00:00:38,780 --> 00:00:42,040 ‫but if you go on Windows to see how it's done, 16 00:00:42,040 --> 00:00:45,030 ‫you can scroll down and you will see in a second 17 00:00:45,030 --> 00:00:47,120 ‫that to install the SAM CLI, 18 00:00:47,120 --> 00:00:49,420 ‫you can just download an installer right here, 19 00:00:49,420 --> 00:00:51,370 ‫an MSI installer that will do it for you. 20 00:00:51,370 --> 00:00:53,720 ‫So it's very simple on Windows. 21 00:00:53,720 --> 00:00:56,090 ‫And for Linux, for the steps. 22 00:00:56,090 --> 00:01:00,630 ‫So we'll scroll down and as we can see here, 23 00:01:00,630 --> 00:01:02,610 ‫we have to install Homebrew. 24 00:01:02,610 --> 00:01:06,050 ‫So for Linux, so here is a way to do it. 25 00:01:06,050 --> 00:01:07,790 ‫And it's called Linuxbrew. 26 00:01:07,790 --> 00:01:11,060 ‫And I will scroll down, you have the brew install on Linux. 27 00:01:11,060 --> 00:01:12,990 ‫And then you install the SAM CLI 28 00:01:12,990 --> 00:01:16,240 ‫the same way you would in Mac, by doing brew tap aws/tap, 29 00:01:16,240 --> 00:01:19,100 ‫and then brew install aws-sam-cli, 30 00:01:19,100 --> 00:01:20,510 ‫and you should be good to go. 31 00:01:20,510 --> 00:01:25,510 ‫So back into my information in my SAM CLI in my brew, 32 00:01:26,870 --> 00:01:29,170 ‫it is installing, and to make sure 33 00:01:29,170 --> 00:01:31,350 ‫that it functions correctly, 34 00:01:31,350 --> 00:01:32,550 ‫I'm just going to wait a little bit 35 00:01:32,550 --> 00:01:35,060 ‫and then I'll type the SAM command, 36 00:01:35,060 --> 00:01:38,790 ‫so I can find it directly from the documentation. 37 00:01:38,790 --> 00:01:42,890 ‫It is going to be sam minus minus version I believe. 38 00:01:42,890 --> 00:01:47,890 ‫So let's go ahead do sam minus minus version. 39 00:01:49,090 --> 00:01:49,923 ‫And here we go. 40 00:01:49,923 --> 00:01:51,650 ‫SAM is installed on my computer. 41 00:01:51,650 --> 00:01:52,483 ‫Awesome. 42 00:01:52,483 --> 00:01:54,000 ‫I will see you in the next lecture.