It is easy to configure Ember.js in your system. By using the Ember CLI (Command Line Interface) utility, you can create and manage your Ember projects. The Ember CLI deals with different kinds of application asset management such as concatenation, minification and versioning and also provide generators to produce components, routes etc.
To install Ember CLI, you need to have the following dependencies −
Git − It is a open source version control system for tracking the changes made in the files. For more information, check the official website of git. Ember uses Git to manage its dependencies.
Installing Git on Linux: Install the Git on Linux by using this link - http://git-scm.com/download/linux
Installing Git on Mac: Install the Git on Mac OS by using this link - https://git-scm.com/download/mac
Installing Git on Linux: Install the Git on Windows by using this link - https://git-scm.com/download/win
Watchman − This optional dependency can be used to watch the files or directories and execute some actions when they change.
PhantomJS − This optional dependency can be used for running browser based unit tests to interact with web page.
Ember CLI integrates Ember patterns into development process and focuses easily on the developer productivity. It is used for creating Ember apps with Ember.js and Ember data.
You can install Ember using npm as in the command given below −
npm install -g ember-cli
To install the beta version, use the following command −
npm install -g firstname.lastname@example.org
To check the successful installation of Ember, use the following command −
After executing the above command, it will show something like this −
ember-cli: 2.10.1 node: 0.12.7 os: win32 ia32