How can I use npm ci instead of npm install?

Hello there, even I am looking for a similar solution. Currently Netlify fails to install packages from private registries (not private packages), and there doesn’t seem to be any way around it. Tried asking questions too, but no satisfactory answer was given. But, npm ci would have solved the problem