Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to remove the yeoman cache? #1719

Closed
trusktr opened this issue Aug 4, 2019 · 4 comments
Closed

How to remove the yeoman cache? #1719

trusktr opened this issue Aug 4, 2019 · 4 comments

Comments

@trusktr
Copy link

trusktr commented Aug 4, 2019

How do I make Yeoman start fresh? How do I completely blow away any yeoman cache from my global yo install?

For example, how do I make it ask me again if I want to provide anonymous usage data?

I tried uninstalling and reinstalling, but it does not prompt.

@SBoudrias
Copy link
Member

We do not expose such an option as far as I remember. You would need to remove the .yo-rc.json file and the global one.

@trusktr
Copy link
Author

trusktr commented Aug 12, 2019

Where's that global one?

@SBoudrias
Copy link
Member

It is here: node -e "console.log(require('os').homedir() + '/.yo-rc-global.json')"

@trusktr
Copy link
Author

trusktr commented Aug 13, 2019

Hmmm, I thought I looked there, but I didn't see anything that started with ~/.yo on macOS. I've factory-reset my machine anyways, so I'll check it out next time. Thanks!

@trusktr trusktr closed this as completed Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants