1 00:00:05,210 --> 00:00:05,800 Hello everyone. 2 00:00:05,800 --> 00:00:08,899 In this video, we'll install code lite for Mac. 3 00:00:09,820 --> 00:00:15,049 The installation of CodeLite on Mac has recently been changed to use Brew. 4 00:00:15,500 --> 00:00:19,619 So that's what we're going to use, It's command line driven, I wish it was just a 5 00:00:19,620 --> 00:00:24,009 double click install, but a lot of times, most of the actually, most of the time. 6 00:00:24,450 --> 00:00:28,219 The developer tools that developers use or you know installed via the command line. 7 00:00:28,219 --> 00:00:32,009 Might as well get used to it and it's not so bad, I'll walk you right through it. 8 00:00:32,290 --> 00:00:33,830 So, let's get started. 9 00:00:35,199 --> 00:00:38,809 So open up your favorite browser and head over to codelite.org. 10 00:00:39,880 --> 00:00:43,540 And then once we're there, we want to select the downloads link and then 11 00:00:43,540 --> 00:00:45,349 click latest, that's the latest version. 12 00:00:45,679 --> 00:00:47,719 And scroll to the macOS section. 13 00:00:48,009 --> 00:00:50,519 Now you'll notice that we're installing it using brew. 14 00:00:50,549 --> 00:00:54,550 So if you don't have brew installed on your system, this is how you install it. 15 00:00:54,809 --> 00:00:56,200 You would click on the brew link. 16 00:00:57,240 --> 00:00:59,309 And that will take you to the Homebrew Home page. 17 00:00:59,630 --> 00:01:02,360 Now on there, you'll see right around the middle there, you can 18 00:01:02,360 --> 00:01:03,989 see where it says Install Homebrew. 19 00:01:04,330 --> 00:01:09,710 Click that little icon and that will copy that URL to your clipboard. 20 00:01:09,990 --> 00:01:12,910 And then you can just press command space and open up terminal 21 00:01:12,920 --> 00:01:14,110 just like we've done before. 22 00:01:14,410 --> 00:01:16,370 I'll make it a little bigger, so you can see. 23 00:01:16,640 --> 00:01:20,429 And then you just want to paste that in there, you can use command V, all right? 24 00:01:20,440 --> 00:01:23,990 Now we've got that URL paste in there and we just execute it. 25 00:01:24,080 --> 00:01:27,839 And that will install a brew on your system, It'll ask you for 26 00:01:27,839 --> 00:01:31,480 your password and it'll just take a few minutes, It's pretty quick. 27 00:01:31,920 --> 00:01:33,640 Press return or enter to continue. 28 00:01:37,600 --> 00:01:39,070 And let it do its thing. 29 00:01:39,950 --> 00:01:41,320 And once it's finished. 30 00:01:42,340 --> 00:01:45,290 We want to do one more step and the instructions will be 31 00:01:45,290 --> 00:01:46,409 right in the script there. 32 00:01:46,859 --> 00:01:51,369 You can see where it says next steps and I'm going to copy and paste that command 33 00:01:51,370 --> 00:01:52,600 that they're giving us right there. 34 00:01:56,340 --> 00:01:57,750 So I'm pressing command C. 35 00:01:58,530 --> 00:02:01,610 Then I'm pressing command V to paste it, clicking on the end and 36 00:02:01,730 --> 00:02:03,070 just pressing enter and that's it. 37 00:02:03,429 --> 00:02:06,710 Brew is installed now and now we can use brew to continue the 38 00:02:06,710 --> 00:02:09,758 installation of CodeLite on Mac. 39 00:02:10,400 --> 00:02:12,570 So, I'm going to close this terminal and open a new one. 40 00:02:12,690 --> 00:02:15,520 It's always a good idea, whenever you modify any of the terminal 41 00:02:15,530 --> 00:02:16,880 settings to open up a new one. 42 00:02:17,240 --> 00:02:21,199 So let's talk about the next step, I'm back to the web page here and we 43 00:02:21,200 --> 00:02:24,209 basically have to run a few commands and let me make a little room here, 44 00:02:24,209 --> 00:02:25,739 so we can run them side by side. 45 00:02:25,950 --> 00:02:27,600 I'm going to open up the terminal again. 46 00:02:29,610 --> 00:02:31,440 Make it a little bit bigger, so we can see it better. 47 00:02:33,950 --> 00:02:34,770 And then what we'll do is 48 00:02:34,770 --> 00:02:38,840 We'll paste each one of those four commands that are in that white box on 49 00:02:38,840 --> 00:02:41,100 the web page, over into the terminal. 50 00:02:41,109 --> 00:02:44,170 So the first one is brew.Tap eranif/codelite. 51 00:02:45,070 --> 00:02:47,150 The second is the brew update. 52 00:02:53,160 --> 00:02:57,949 And the third one is brew reinstall dash dash cask codelite official 53 00:02:58,150 --> 00:03:01,250 and you could just copy them with command C and then paste them 54 00:03:01,250 --> 00:03:02,570 control V, that's what I'm doing. 55 00:03:06,350 --> 00:03:08,700 This is the one that's actually installing CodeLite. 56 00:03:08,790 --> 00:03:11,090 And again, everything takes a little bit of time when we're 57 00:03:11,090 --> 00:03:12,200 working from the command line. 58 00:03:17,529 --> 00:03:21,140 Then once CodeLite is installed, we execute that last command, 59 00:03:21,140 --> 00:03:23,240 which is xattr and so forth. 60 00:03:23,520 --> 00:03:25,150 And again, just copy and paste it. 61 00:03:25,890 --> 00:03:28,380 And then we're done at that point, CodeLite will be installed. 62 00:03:28,990 --> 00:03:32,970 It's possible that when you typed in the brew update command, the second command. 63 00:03:33,589 --> 00:03:36,690 It might give you a message about something about GitHub or other and 64 00:03:36,690 --> 00:03:38,130 it's giving you an alternate command. 65 00:03:38,490 --> 00:03:41,370 Use that alternate command, If you get that, that one takes 66 00:03:41,390 --> 00:03:42,809 quite a while to execute. 67 00:03:43,220 --> 00:03:45,399 And then after that, just continue with the installation. 68 00:03:56,849 --> 00:03:59,470 Okay, so as you can see, there's a whole bunch of packages and 69 00:03:59,470 --> 00:04:01,030 dependencies that are being installed. 70 00:04:01,820 --> 00:04:04,970 And then once that's done, one more command and we're good to go. 71 00:04:11,799 --> 00:04:12,749 All right, that's it. 72 00:04:12,970 --> 00:04:15,680 I sped up the video just to save a little time. 73 00:04:16,060 --> 00:04:20,988 And now we do the last command and at that point, we have completely installed 74 00:04:21,000 --> 00:04:23,030 CodeLite and we should be good to go. 75 00:04:23,309 --> 00:04:27,010 In the next video, we'll configure CodeLite, so that it'll work with the 76 00:04:27,010 --> 00:04:28,630 compiler and we'll be ready to code. 77 00:04:28,820 --> 00:04:29,859 I'll see you in the next video.