Reputation: 333
Here is what I did on my mac:
brew install npm
sudo -H npm install -g meteorite
The outcome is:
$ sudo -H npm install -g meteorite
Password:
npm http GET https://registry.npmjs.org/meteorite
....
> [email protected] postinstall /usr/local/share/npm/lib/node_modules/meteorite
> sh ./completions/postinstall.sh
npm WARN package.json [email protected] No repository field.
[email protected] /usr/local/share/npm/lib/node_modules/meteorite
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
But when I type mrt
,it shows
$ mrt
-bash: mrt: command not found
My node and nom version are :
$ node -v
v0.10.12
$ npm -v
1.2.32
Anyone help appreciated.
Upvotes: 3
Views: 2395
Reputation: 333
I just found the reason and solution: the mrt
in ~/node_modules/meteorite/.bin/ should be included in /usr/local/bin or somewhere in your $PATH environment.So do this:
cp ~/node_modules/meteorite/.bin/mrt /usr/local/bin/
When I type mrt
,it works:)
Upvotes: 2