Before we get started, a quick word about developing with Dart and specifically with DCli.
When developing scripts we often don’t have a GUI so an IDE isn’t always available. With that in mind DCli is a pure cli application so you can easily develop DCli scripts using Vi or whatever other cli editor you prefer. Having said that, I recommend using an IDE whenever it’s available. Syntax highlighting, auto complete and automatic insertion of import statements will seriously improve your productivity.
My recommendation for an IDE is Visual Code. It’s lightweight, supported by Google and does a nice job of getting the job done.
I’ve included a link at the bottom of this article regarding installing Visual Code.