ember
Build and serve Ember.js applications
TLDR
Create a new Ember application
Create a new Ember addon
Build the project
Build the project in production mode
Run the development server
Run the test suite
Run a blueprint to generate something like a route or component
Install an ember-cli addon
SYNOPSIS
ember <command> [options] [<args>]
PARAMETERS
-h, --help
Display usage information
-V, --version
Output the version number
-v, --verbose
Enable verbose output (repeat for more verbosity)
--blueprint <location>
Specify alternate blueprint repository or path
--blueprint-name <name>
Specify alternate blueprint name
--environment, -e <environment>
Specify the environment (default: development)
DESCRIPTION
The ember command is the official command-line interface (CLI) for Ember.js, a front-end JavaScript framework for building scalable web applications. Installed via npm as npm install -g ember-cli, it streamlines development workflows by providing generators for boilerplate code, a fast development server with live reload, production build tools, testing utilities, and addon management.
Key features include scaffolding apps with ember new, serving them locally with ember serve, generating components, routes, models, and more via ember generate, building optimized assets with ember build, and running tests with ember test. It supports blueprints for custom generators and integrates with tools like Broccoli for asset pipelining. Ember CLI enforces conventions like MVC architecture, ES6 modules, and addon ecosystem, making it ideal for ambitious single-page applications (SPAs).
Primarily used by web developers, it abstracts complexity, enforces best practices, and accelerates prototyping to production. Note that it's not a native Linux utility but a Node.js tool, requiring Node >=14 and npm.
CAVEATS
Requires Node.js and npm; global install needed. Command options vary by subcommand. Large apps may have slow initial builds.
COMMON COMMANDS
ember new my-app - Create new app.
ember serve - Start dev server.
ember generate component foo - Generate component.
ember build --environment=production - Production build.
INSTALLATION
Run npm install -g ember-cli. Verify with ember --version.
HISTORY
Released in October 2014 (v0.1.0) as part of Ember.js 1.13+. Evolved from Yeoman generators; now at v5.x (2024), supports modern JS/TS, integrates with Embroider for builds.


