如何在设置自定义全局目录时将npm更新为最新版本 [英]How to update npm to the latest version when custom global directory is set