home
  • Blog
1.12
  • Getting Started
    • Installing Ember
    • Glossary
  • Concepts
  • The Object Model
  • Application
  • Templates
  • Routing
  • Components
  • Controllers
  • Models
  • Views
  • Enumerables
  • Testing
  • Configuring Ember.js
  • Ember Inspector
  • Cookbook
  • Understanding Ember.js
  • Contributing to Ember.js
Old Guides - You are viewing the guides for Ember v1.12.0.
Go to v5.0.0

Installing Ember

Edit pencil

Getting started with Ember.js is easy. Ember.js projects are created and managed through our command line build tool ember-cli. The command line tool brings:

  • Modern application asset management (including combining, minifying, and versioning).
  • Built-in generators to help you create components, routes, and more.
  • A conventional project layout so approaching another developer's Ember.js applications is easy.
  • Official JavaScript modules to keep your project organized.
  • A complete testing framework.
  • Access to a growing ecosystem of Ember Addons.

Installation

Ember.js installs through the npm. Install the Ember.js build tools with npm.

npm install -g ember-cli

Testing your installation

When installation completes, test your install to ensure it worked by generating a new project:

ember new my-app

This will create a new my-app directory and generate an application structure for you.

Once the generation process finishes, verify that you can run the newly created application:

cd my-app
ember server

Navigate to http://localhost:4200 to see your new app in action.

Troubleshooting

Got Node, npm, and Git?

ember-cli requires Node.js 0.12 or higher, npm 2.7 or higher, and Git.

Node Package Manager (npm) comes bundled with node.js. If you're not sure if you have node.js installed, try running the following command in your terminal:

node --version

If you have node installed you'll see a message like 0.12.x in your terminal.

If you don't have node 0.12 or higher installed:

  • Windows or Mac users can download and run the installer.
  • Linux users should read through this guide by Joyent for install instructions.

Once you've got node.js installed, run the node --version command again to verify your install.

Git comes with Mac OS X and most Linux distributions. Windows users can download and run the installer.

left arrow
Ember.js Guides
Glossary
right arrow
On this page

  • Installation
  • Testing your installation
  • Troubleshooting
  • Got Node, npm, and Git?
Team Sponsors Security Legal Branding Community Guidelines
Twitter GitHub Discord Mastodon

If you want help you can contact us by email, open an issue, or get realtime help by joining the Ember Discord.

© Copyright 2023 - Tilde Inc.
Ember.js is free, open source and always will be.


Ember is generously supported by
blue