Miku.gg on Windows 10
Hello everyone. Quick tutorial on how to get Miku running on Windows. I got it working on windows 10. I can't confirm windows 11.
1. Important bits
Get yourself node js, and git. Best from links from the Miku site. You will also need notepad++ or some other text editor (notepad / word won't work).
2. Instalation
Create a folder where you want to have miku installed. For me it's C:\AI\Miku . Press on the top bar and type cmd there. Hit "Enter" and cmd window will open.
Now type in
git clone https://github.com/miku-gg/miku.git
If something fails here. Make sure you got git and node.js installed. If yes then try rebooting your pc.
After typing first command wait for everything to download. Additional folder called miku will appear. Type in cmd
cd miku
copy .env.example .env
Remember that notepad++ ? Open file .env from miku folder with it. Here enter your OAI key / pyg api link / elevenlabs api. I'm only using OAI key, so this file looks like this for me
Not sure if you need to remove fields that you're not using. I did just in case.
3. Running
Time to start Miku.
Type in cmd
npm i -g pnpm
pnpm i
Now open package.json from main miku folder. In 7th line you need to edit cp to copy. So it will look like this
"start": "(copy .env apps/browser-chat || true) && lerna run start --parallel --ignore @mikugg/docs",
Now go back to cmd and type
pnpm start
cmd window will start doing the thing stealing your credit card info
If you see this then you got everything just right and miku is working. Enter in browser localhost:5173
and you're good to go