Is it ok to use "npm install" over "yarn"?

I was reading an example for an Express app that mentions the build command should be set to yarn. Deploy a Node Express App | Render

I have a node project that has npm install as the build command.

Is this ok, or we should set it to yarn?

Hi there,

Thanks for reaching out.

You can use which ever command(s) you need for your project, yarn is just the default example for Renders Node Native Environments. npm install would also be fine.

Hope that helps

Kind regards


1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.