Installing Ember CLI

12 thanks

  • If you've already installed everything you need to get started with Ember CLI, feel free to skip to the next chapter.

    +
  • There are 6 main things you need to have installed on your computer in order to make Ember apps:

    +
    • Node: used to run a virtual server on your computer, and is also required for NPM packages.
    • NPM: stands for "Node Package Manager" and allows you to tap into thousands of libraries written in Node and install them with a simple command.
    • Bower: a package manager very similar to NPM, but built specifically for front-end development.
    • PhantomJS: a headless browser used to run automated tests on Ember apps.
    • Watchman: listens to changes in your project and automatically rebuilds the preview when needed (OSX only).
    • Ember CLI: the command-line program that helps you generate files with boilerplate code

    +
  • Installing Node and NPM

    +
  • To install Node, head over to the Node website and click on the "Install" button to start the download. After that, simply launch the package installer and just follow the instructions.

    +
  • The Node installer
    +
  • NPM comes bundled together with Node. To make sure you have both of them installed, open up your terminal application (located in Applications > Utilities > Terminal if you're using a Mac) and run these commands:

    +
  • Loading code...
    2
    Tristan Edwards
    Andrés BG
  • Here are my versions for this tutorial. Don't worry if your version numbers aren't exactly the same.
    +
  • Installing the rest

    +
  • Now that we have Node and NPM, installing the rest is easy! Again, just use the terminal:

    +
  • Loading code...
    4
    Tristan Edwards
    Christian Abdelmassih
  • Installing Watchman 3

    +
  • One final thing if you're using OSX, is that you should install Watchman since it's more efficient than NodeWatcher when it comes to looking for changes in your project files.

    +
  • Loading code...
    +
  • Alright, that was the boring part, but now we're all done! In the next chapter we'll start creating our project!

    +

Did it help you? Click to say "thanks" to the author!

Next lesson: Creating the project

Want to create your own course on Ludu?

Back to lesson