I am trying to install yarn globally using npm or brew
sudo install --globally yarn
or brew install yarn
but I still can't use it and I face this problem
Any clues what's the problem maybe solution?
Try running
sudo chown -R $(whoami) ~/.config
Then re-run the install yarn