[Yarn] Use Yarn dlx to Execute Packages without Installing Them

yarn dlx can be used to run packages without installing them. This is useful for packages like create-react-app and gatsby that scaffold out apps for you, so you don't have to keep updating your global versions.

yarn dlx create-react-app newapp

 

posted @ 2020-01-27 22:13  Zhentiw  阅读(233)  评论(0编辑  收藏  举报