notes mostly from here https://forums.minecraftforge.net/topic/125488-rules-and-frequently-asked-questions-faq
jdk and 7zip
also the minecraft launcher if you don't have it already
WinGet install Microsoft.OpenJDK.17
winget install -e --id 7zip.7zip
forge is the "update" to minecraft to install
with minecraft launcher closed
Download the file from the browser link
then in powershell
cd Downloads
& "C:\Program Files\7-Zip\7z.exe" x minecraft-files.7z .
cd minecraft-files
java -jar forge-1.19.2-43.4.0-installer.jar
it will pop-up
hit install client
*Click the "Installations" tab at the top of the launcher, Hover over the Forge install in the list, Click the "..." then click "Edit"**
Change the following settings
Name: SteamPunk
Game Directory: something that isn't .minecraft
JVM Arguments: Change max to 8G `-Xmx8G`
Copy the folder location for adding mods
Then copy the entire contents of the minecraft folder from the Downloads/minecraft-files/minecraft folder to the forge folder
It will probably take a while
it will be a java installation, it will take 5 min to load and will look like it is frozen
pregen
/pregen start gen expansion task0617 CIRCLE 50 21 1 100 minecraft:overworld
profiler
get an average "long tick" and then run
/spark profiler --only-ticks-over 150