Note that mankind has not yet been given permission to eat animals. Prior to the Fall no animal had to die for us to survive, and mankind is not permitted to consume animal flesh by the divine explicitly until after we save animal-kind from death by flood in the story of Noah.
Targum Onkelos: And the Lord said, Behold, I have given to you every plant which seedeth gerrn‑seed which is upon all the earth; and every tree in which is the fruit of the tree which seedeth germ‑seed; unto you it shall be for food,
Rashi: And God said, “Behold, I have given you every seed bearing herb, which is upon the surface of the entire earth, and every tree that has seed bearing fruit; it will be yours for food.
Rambam: God commanded them, “I give you as food all the grains of the seed-bearing plants which are on the face of the earth and all the fruit of the fruit-bearing trees, but not the non-seed-bearing plants and shrubs nor the trees themselves.
Ibn Ezra: God said, “Indeed, I give you all the grasses which reproduce by seed which are on the face of the whole earth, and all the trees which have fruits of the tree and which reproduce by seed — they shall be food for you