如何在設置自定義全局目錄時將npm更新為最新版本 [英]How to update npm to the latest version when custom global directory is set