

However, file-watching won't be as smooth as it is with Watchman. If Watchman is not installed, a notice is displayed when using CLI commands, such as "Could not start watchman". Linux users should follow the steps on the Watchman website to build from the source. Mac users can install Watchman via Homebrew: brew install watchman Watchman helps correct for that buggy and inefficient file watching behavior. However, for some versions of Mac or Linux, this auto-restartingĭoes not work perfectly, due to problems in the operating system's When an Ember developer is running a server locally, the server shouldĪutomatically and quickly rebuild when files change. Additional steps for Mac and Linux usersįor Mac and Linux users, we recommend installing Watchman.ĭo not use the npm package by the same name. When it is run inside of an Ember app directory, it will show the version of the app, otherwise it will show the globally installed version of the CLI. The installation is successful if ember -v returns a version number. This will make the ember command available throughout your project folders.

Installing the Ember CLI npm install -g ember-cli Restart the console after installing your package manager. It is recommended to install the most recent LTS (long-term support) version of node. We'll know installation is successful when npm -version or yarn -version returns the version number. While these two tools have somewhat different features, both are compatible with Ember app development.

A package manager installs new dependencies from the command line, whether they are used as commands or in the app itself.įollow these installation instructions for npm or yarn.

Learn how to install the Ember CLI on Linux, Mac, and Windows.
