home
  • Blog
2.14
  • Getting Started
  • Tutorial
  • The Object Model
  • Routing
  • Templates
  • Components
  • Controllers
  • Models
  • Application Concerns
  • Testing
  • Ember Inspector
  • Addons and Dependencies
  • Configuring Ember.js
    • Configuring Your App
    • Configuring Ember CLI
    • Handling Deprecations
    • Disabling Prototype Extensions
    • Specifying the URL Type
    • Embedding Applications
    • Feature Flags
    • Build targets
    • Debugging
  • Contributing to Ember.js
  • Glossary
Old Guides - You are viewing the guides for Ember v2.14.0.
Go to v5.0.0

Configuring Ember CLI

Edit pencil

In addition to configuring your app itself, you can also configure Ember CLI. These configurations can be made by adding them to the .ember-cli file in your application's root. Many can also be made by passing them as arguments to the command line program.

For example, a common desire is to change the port that Ember CLI serves the app from. It's possible to pass the port number from the command line with ember server --port 8080. To make this configuration permanent, edit your .ember-cli file like so:

{
  "port": 8080
}

For a full list of command line options, run ember help.

left arrow
Configuring Your App
Handling Deprecations
right arrow
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