To remove a Yeoman generator that is installed in your system, you need the npm module name of your Yeoman generator.
Do this:
yo --list
This will list out all the generator that are installed. Get the name of the generator that you want to remove. Prefix it with 'generator-'. This is your node module that needs to be removed.
Next,
npm uninstall -g <node module>
Then,
npm cache clear
This should uninstall your Yeoman generator.
Do this:
yo --list
This will list out all the generator that are installed. Get the name of the generator that you want to remove. Prefix it with 'generator-'. This is your node module that needs to be removed.
Next,
npm uninstall -g <node module>
Then,
npm cache clear
This should uninstall your Yeoman generator.