DEV Community

Discussion on: npm tips/tricks

Collapse
 
nickytonline profile image
Nick Taylor • Edited

Well before I discovered npx, I've never needed Yeoman in a project. It was always to generate something for a project which is why I installed it globally, . But now, I'd use npx yo, however, there is an open issue for using it with npx. For yarn, CI has this installed normally, e.g. Travis, and yarn's docs recommend installing it for global use as well, yarnpkg.com/lang/en/docs/install/#...

Collapse
 
hillliu profile image
Hill Liu

Now could use yonpx

npx yonpx [your-generator] your-app-name
Enter fullscreen mode Exit fullscreen mode