I installed the following packages
npm install -g yo generator-code
And then ran
yo code
Which asked my for permissions to collect data. I clicked yes. But how can I change it back to no?
npm uninstall -g yo generator-code
But after installing it again it doesn't ask permission to collect data.