Trying to install flutter

Hey idk if this is the place but i really need help. I’ve watched several youtube videos and followed every direction step by step until i am unable to due to an error. When I try to run flutter n my terminal after downloading and unzipping flutter, and downloading xcode, and visual studio code i get

bash code : command not found

Once again i do everything as instructed. I am just trying to begin designing apps and i was told flutter was the way to go, however this installation has taken weeks to figure out. I have a 2015 imac running on Catalina.