How to force recreation of an environment

My environment is corrupted and I like to recreate it.
Gemini suggested using kill 1 from a terminal session. Once command was issued environment stopped responding. Following a browser refresh, it started recreating the environment, however all I see is a spinning wheel for about 15 minutes now which is much longer than creating the environment from scratch.
Is this the correct way of recreating the environment?

In Command Palette, run onCreate hooks.

Is this a suggestion given by Interactive Chat inside IDX?

I’m sorry I don’t remember whether if it was from interactive chat or a standalone Gemini session.