‫Let's install this SAM CLI,
‫so I'll do sam framework cli install on Google.
‫And this should give me the instructions to do it.
‫So for example, I have my instructions here on macOS,
‫but you can find the ones on Windows and Linux right here.
‫So I'm just going to follow these on macOS.
‫So I will scroll down and I will install Homebrew.
‫So Homebrew is already installed for me.
‫And then once I've installed Homebrew,
‫I just run these two commands.
‫So let me go into my CLI and run the brew tap aws/tap,
‫and then brew install sam-cli,
‫and that's all I needed to install my SAM CLI.
‫So I'll wait a little bit,
‫but if you go on Windows to see how it's done,
‫you can scroll down and you will see in a second
‫that to install the SAM CLI,
‫you can just download an installer right here,
‫an MSI installer that will do it for you.
‫So it's very simple on Windows.
‫And for Linux, for the steps.
‫So we'll scroll down and as we can see here,
‫we have to install Homebrew.
‫So for Linux, so here is a way to do it.
‫And it's called Linuxbrew.
‫And I will scroll down, you have the brew install on Linux.
‫And then you install the SAM CLI
‫the same way you would in Mac, by doing brew tap aws/tap,
‫and then brew install aws-sam-cli,
‫and you should be good to go.
‫So back into my information in my SAM CLI in my brew,
‫it is installing, and to make sure
‫that it functions correctly,
‫I'm just going to wait a little bit
‫and then I'll type the SAM command,
‫so I can find it directly from the documentation.
‫It is going to be sam minus minus version I believe.
‫So let's go ahead do sam minus minus version.
‫And here we go.
‫SAM is installed on my computer.
‫Awesome.
‫I will see you in the next lecture.