As for me, I use the Arduino IDE and rarely use the CLI. Seems like you have to use the CLI sometimes for various tasks, and I THINK if you're rather advanced in certain programming/command line procedures it can work out well, but that's not really me.
Getting started I would install the Arduino IDE, then there will likely be requirements for installing an ESP8266 board package. There should (hopefully) be some documentation associated with the board that you have that walks you through this procedure. Good chance you'll have to go into settings and input an additional board manager URL as seen at the bottom of this screencap (example URL, may be different for you).
Ok thanks for the input, I should go back to arduino ide because I'm having a lot of problems in cli. I watched youtube and many youtubers said to use cli