How do I install Windows 11 without an internet connection?

On the Oops, you’ve lost your internet connection or Let’s connect you to a network page, press Shift + F10. In the Command Prompt, type OOBE\BYPASSNRO to bypass network requirements on Windows 11 and press Enter. The computer will restart automatically, and the out-of-box experience (OOBE) will start again.