Reputation: 861
What powershell command do I run to see what Yeoman generators I have installed? I'm assuming it's a npm command, but I have no idea since I'm new to CLI.
This is what I'm seeing when I enter "yo" into the command line. I'm on version 1.0.0-rc.1.3.
Upvotes: 24
Views: 23881
Reputation: 37155
Updated January 2016
Whilst the accepted answer is correct, it also prints alot of other noise to the screen. It also leaves you still within the yo command-line upon completion.
The official yeoman command just to see list of installed generators is
$ yo --generators
This exits the yo CLI upon completion. This is really helpful if you wish to pipe the output to another program etc.
Of course, if your intention is to actually run a particular generator, and you only have a few installed, then just running:
$ yo
is the way to go.
You can find a complete listing of all published generators here
Upvotes: 23
Reputation: 1771
You need to setup node path:
export NODE_PATH=$HOME/.node/lib/node_modules/
In my case node is in HOME directory.
Running yo
after this will list all generators.
Upvotes: 2
Reputation: 4059
you should be able to use yo -h
in 1.0.0-rc.1.3 and it will list your installed generators along with their generator tasks they provide.
Upvotes: 27
Reputation: 5770
Just running yo
should list your installed generators, and allow you to run them.
Upvotes: 13