In step 3, It should be “sudo -i”.

It is missing the minus sign in the documentation

GitHub-flavored Markdown & a sane subset of HTML is supported.