EmberJS - Installation



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.

  • Node.js and npm − Node.js is an open source, used for developing server side and networking applications. It is written in JavaScript. NPM is a node package manager used for installing, sharing and managing the dependencies in the projects. Ember CLI uses Node.js run time and npm to get the dependencies.

  • Bower − It is used for managing the components such as HTML, CSS, JavaScript, image files etc and can be installed by using the npm.

  • 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.

Installing Ember CLI

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 ember-cli@2.10

To check the successful installation of Ember, use the following command −

ember -v

After executing the above command, it will show something like this −

ember-cli: 2.10.1
node: 0.12.7
os: win32 ia32
Advertisements