Hello everyone.
In this video, we'll install code lite for Mac.
The installation of CodeLite on Mac has recently been changed to use Brew.
So that's what we're going to use, It's command line driven, I wish it was just a
double click install, but a lot of times, most of the actually, most of the time.
The developer tools that developers use or you know installed via the command line.
Might as well get used to it and it's not so bad, I'll walk you right through it.
So, let's get started.
So open up your favorite browser and head over to codelite.org.
And then once we're there, we want to select the downloads link and then
click latest, that's the latest version.
And scroll to the macOS section.
Now you'll notice that we're installing it using brew.
So if you don't have brew installed on your system, this is how you install it.
You would click on the brew link.
And that will take you to the Homebrew Home page.
Now on there, you'll see right around the middle there, you can
see where it says Install Homebrew.
Click that little icon and that will copy that URL to your clipboard.
And then you can just press command space and open up terminal
just like we've done before.
I'll make it a little bigger, so you can see.
And then you just want to paste that in there, you can use command V, all right?
Now we've got that URL paste in there and we just execute it.
And that will install a brew on your system, It'll ask you for
your password and it'll just take a few minutes, It's pretty quick.
Press return or enter to continue.
And let it do its thing.
And once it's finished.
We want to do one more step and the instructions will be
right in the script there.
You can see where it says next steps and I'm going to copy and paste that command
that they're giving us right there.
So I'm pressing command C.
Then I'm pressing command V to paste it, clicking on the end and
just pressing enter and that's it.
Brew is installed now and now we can use brew to continue the
installation of CodeLite on Mac.
So, I'm going to close this terminal and open a new one.
It's always a good idea, whenever you modify any of the terminal
settings to open up a new one.
So let's talk about the next step, I'm back to the web page here and we
basically have to run a few commands and let me make a little room here,
so we can run them side by side.
I'm going to open up the terminal again.
Make it a little bit bigger, so we can see it better.
And then what we'll do is
We'll paste each one of those four commands that are in that white box on
the web page, over into the terminal.
So the first one is brew.Tap eranif/codelite.
The second is the brew update.
And the third one is brew reinstall dash dash cask codelite official
and you could just copy them with command C and then paste them
control V, that's what I'm doing.
This is the one that's actually installing CodeLite.
And again, everything takes a little bit of time when we're
working from the command line.
Then once CodeLite is installed, we execute that last command,
which is xattr and so forth.
And again, just copy and paste it.
And then we're done at that point, CodeLite will be installed.
It's possible that when you typed in the brew update command, the second command.
It might give you a message about something about GitHub or other and
it's giving you an alternate command.
Use that alternate command, If you get that, that one takes
quite a while to execute.
And then after that, just continue with the installation.
Okay, so as you can see, there's a whole bunch of packages and
dependencies that are being installed.
And then once that's done, one more command and we're good to go.
All right, that's it.
I sped up the video just to save a little time.
And now we do the last command and at that point, we have completely installed
CodeLite and we should be good to go.
In the next video, we'll configure CodeLite, so that it'll work with the
compiler and we'll be ready to code.
I'll see you in the next video.