thebigk's avatar
Level 13

Yarn or NPM - I'm confused

I'm confused between yarn and npm. I get that yarn is a package manager like npm; but then how do I use it with Laravel mix?

I've been doing npm run dev and npm run prod, do these commands change with using yarn?

Would appreciate if someone could clarify. Thanks in advance.

0 likes
2 replies
munazzil's avatar

Try with

npm update

and see whats going on.

tykus's avatar

Scripts run the same with yarn as npm:

yarn run ... is the same as npm run ...

1 like

Please or to participate in this conversation.