Wouldn’t be nice to have suggestions when typos happen?
For example, Firefox with the “x” missing, the output shows:
sudo snap install firefo
error: snap "firefo" not found
One idea:
sudo snap install firefo
Did you mean Firefox? (y/n)
And you just hit Enter.