```sh
$ npm install crystal -g
```

The option `-g` installs `crystal` globally so you can run `crystal` from any directory.