Thus did Noah; according to all that God commanded him, so did he.
So Noah did everything precisely as God had commanded him.
Read Genesis 6