In your package.json, you can easily add this to the scripts section:
"scripts": {
"dev": "vite"
}
This will start the development server without opening a browser automatically, you can type npm run dev (alternatively, you can simply run npx vite in your terminal without any flags. After that).