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
[Yarn] Use Yarn dlx to Execute Packages without Installing Them
原文:https://www.cnblogs.com/Answer1215/p/12237046.html