The prune command isn’t necessary. yarn install will prune extraneous packages. 原文: https://yarnpkg.com/zh-Hans/docs/cli/prune