Install DCli
Last updated
Was this helpful?
Last updated
Was this helpful?
To get started with DCli you first need to install Dart and optionally the DCli tools.
There are three methods for installing Dart and the DCli tools.
If you only want to use the DCli library then you can add DCli to your pubspec.yaml as you would any other package.
Start by installing Dart as per:
If you want to use the , including Shebang (#!) support you need to globally activate DCli.
Now activate the DCli tools:
This is still a work in progress but is intended to provide a three-line script to install Dart and the DCli tools.
You can use virtually any editor to create DCli scripts but we use and recommend Visual Studio Code (vscode) with the Dart-Code plugin.
Now install the vs code extension for Dart - Dart Code:
We use and recommend the following additional vscode extensions:
Dart-Code.flutter
dart-import
pubspec-assist
vscode-browser-preview
bracket-pair-colorizer
LogFileHighlighter
Install Visual Studio Code from:
Install Dart-Code from: