TylerBrock / mongo-hacker

MongoDB Shell Enhancements for Hackers
tylerbrock.github.io/mongo-hacker
MIT License
1.79k stars 235 forks source link

How to uninstall? #130

Closed yoniamir closed 9 years ago

yoniamir commented 9 years ago

Hi, i'm not sure the method I used to install mongo-hacker at the time but I'm trying to uninstall completely.

Please advise.

Thanks.

TylerBrock commented 9 years ago

To uninstall you can remove .mongorc.js from the home directory of the current user: rm ~/.mongorc.js

The method to uninstall completely would depend on how it was installed:

Alternatively, you can run the shell with the norc flag to disable it for a single session: mongo --norc

Let me know if that works for you.

yoniamir commented 9 years ago

Seems to do the trick. Thanks a lot.

gianpaj commented 9 years ago

As a side note, if you'd like to disable mongo-hacker or the any other .mongorc.js you can run the mongo shell as follows:

mongo --norc
TylerBrock commented 9 years ago

@gianpaj dude... i mention that in my comment explicitly. Step your game up player :wink:

Side note: thanks for checking on the project and helping out. It's awesome, thank you.

gianpaj commented 9 years ago

oops. Didn't catch that :P