Hi @Helper_Bot,
Welcome to the community
Sorry about the confusing Truffle code when it should be Buidler. It looks like I made a copy/paste error.
The command should be:
$ npx buidler run --network localhost ./scripts/index.js
I will be updating the Learn guides to use Hardhat (Buidler has been renamed and updated to Hardhat) in the next week and will fix this error then.
Please let me know if you have any feedback on the Learn guides so that we can keep improving them.