Split a modrinth modpack in two configurations, server mods only and client mods only.
Create a .env file, an example is here.
MODRINTH_PAT=mrp_____________________________________________________________
USER_AGENT_PREFIX=someoneGet yourself a modrinth personal access token. Read more about it here.
Change USER_AGENT_PREFIX to your github username and MODRINTH_PAT to your new modrinth personal access token.
pnpm start <your-file-here>
Expect two files
client_---.mrpackandserver_---.mrpackin the same directory and a few log files near the executable.