Я вижу, что вы можете download nodejs
через homepage
или install via homebrew
или via macports
.
который является лучшим методом?
Есть ли причина выбора одного над другим?
Some things I consider:
1. Ease of upgrading to latest version
2. Ability to (fully) remove and uninstall
3. 1 and 2 should leave no trace of old version (including any temp files), or in case of uninstalling, should fully remove everything.