当你通过 npm install -g 全局安装新的 CLI 工具后,如果遇到 "command not found" 的错误,可以运行 hash -r 来刷新 shell 的命令缓存,这样就能立即使用新安装的命令了。