Why? You want to change your runtime config after you have built your nextjs instance? How Run ./node_modules/.bin/next-replace-env in the project dir TODO better package.json add tests add parameters