Glimmer uses Ember CLI, the battle-tested command-line interface tool (CLI) from the Ember project, to help you create and manage your applications. It provides the following features, among others:
Ember CLI requires Git to manage many of its dependencies. Git comes with Mac OS X and most Linux distributions. Windows users can download and run this Git installer.
Ember requires Node.js 6 or higher and npm 2.14.2 or higher. If you're not sure whether you have Node.js or the right version, run this on your command line:
node --version npm --version
If you get a "command not found" error or an outdated version for Node:
brew install nodeto install Node.js.
If you get an outdated version of npm, run
npm install -g npm.
We are going to use Yarn to manage dependencies in a Glimmer project, as it offers some advantages over npm, such as deterministic builds and the ability to work offline.
You can follow their installation instructions to get set up.
To generate new projects, we will need Ember CLI.
To install Ember CLI, run the following command:
yarn global add ember-cli
Alternatively, you can do:
npm install -g ember-cli
To verify that it's correctly installed, run the following command: