yarn init 等价于 npm init yarn add 包名 等价于 npm i 包名 yarn remove 包名 等价于 npm un 包名 yarn global add 包名 等价于 npm i 包名 -g