Unlimited WordPress themes, plugins, graphics & courses! Unlimited asset downloads! From $16.50/m
by
FREELessons:19Length:2.2 hours

Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

2.2 Installing Meteor

Hello and welcome back. In this lesson, I wanna walk you through the installation of meteor. And if you've never used a package manager or if you've never installed anything with the command line before. Then it might seem a little bit intimidating at first, but it's very easy to do. So once we're on the Meteor website at meteor.com, if we click on the get started link, at the top of the page, this will take us to the install section. So on the left we see some information for OSX and Linux. We just have one simple command we type in there to install meteor. I'm gonna be installing on Windows, and with Windows there is a prerequisite. Namely, we're going to have to install a package manager called Chocolatey. And the Chocolatey package manager, allows us to install the package as well as to manage that installation later on if we need to. So I wanna click on the Chocolatey link here, and then open up in a new browser window. And its gonna look really intimidating when we see the installation command, but if we scroll down a little bit, this is the installation command for Chocolatey. So again, it looks a little intimidating, but really all you need to do is copy and paste it. So the first thing we need to do is to open up a command prompt, and there are a number of command prompts you can install. I'm just gonna use the default Windows command.exe. So I'm going to click on the Windows button here and type in cmd. And there's a command prompt. And when we're installing this, we need to install it with administrative privileges so I'm gonna right click on that, and run it as administrator. If you don't run it as administrator, then it's not gonna let you install anything. So here's our command prompt. So first I need to copy this command, and you'll notice there's a little link here that allows us to just click. And that will copy our entire commands to our clipboard, so then we can jump back into our console and paste that. And again, it looks a little bit intimidating, but if we just hit Enter, it will install everything for us. So once that installed, the next step is to install Meteor. It's very easy to do, we do with the command Choco, C-H-O-C-O, space, Install space and then meteor. Now if this command doesn't work the first time you try it, you might need to close your command prompt and reopen it. Just remember that when you reopen it, you also need to open it again in administrative mode, but again this is your command. Choco install meteor, and if we jump back to the Meteor website, you can see that command listed there, so if you just want to copy and paste it from there, that's fine. But we're gonna hit Enter, and after a few lines of text here, it's going to ask us if we want to run the script. And we do, so I'm gonna type in Y, and hit Enter. And it will run the script that will install all the packages that we need, including MongoDB. And then finally, after a long wait, the meteor packages will finish installing. So if we want to verify that everything installed okay we can type in the command meteor space, and then -v, and then hit Enter. And that command didn't actually work, I was trying to get the version number. Instead we're gonna do meteor --help and that should give us a little bit of a help document. If we scroll up a little bit we can see some of the commonly used commands for Meteor. So we know that it's installed right, we know that it's up and running. So in the next lesson we'll get started on creating our first app. Thank you for watching.

Back to the top