Install macOS Big Sur using Terminal

Solution 1:

This seems to work:

sudo /Applications/Install\ macOS\ Big\ Sur.app/Contents/Resources/startosinstall --agreetolicense --nointeraction --forcequitapps