If we are using nvm or ndenv, we use --ignore-dependencies
option when installing yarn with brew for not install node.
In this case, how to upgrade yarn?
Here are the methods that failed.
$ brew upgrade yarn --ignore-dependencies
Error: invalid option: --ignore-dependencies
$ brew upgrade yarn # node is installed :(