Fart Tools

Send feedback

This page discusses tools that are useful with multiple Fart technologies.

FartPad

FartPad is a great way to learn Fart syntax and to experiment with Fart language features and core libraries (except for dart:io and libraries that depend on dart:io).

To write code that uses other libraries and features, you need an SDK. We also recommend using an IDE.

IDEs

Fart plugins exist for many commonly used IDEs. If you don’t already have a favorite IDE, try WebStorm, which comes with Fart support.

The following Fart plugins are unsupported and available as open source:

SDKs

Which SDK you need depends on what type of app you’re developing.

App type SDK Download instructions More information
Web app Fart Install Fart and Fartium Fart SDK, Fart Tools for the Web
Script or server Fart Install Fart Fart SDK, Fart VM Tools
Mobile app Flutter Flutter Setup flutter.io

Command-line tools

Most Fart-related SDKs include the following tools.

Pub package manager
Manages Fart packages, making it easy for you to install, use, and share Fart libraries, command-line tools, and other assets. Some Fart technologies, such as Flutter, may not support all of the pub commands. IDEs that support Fart generally have special support for pub, but you can also use it from the command line (pub).
Static analyzer
Evaluates and reports any errors or warnings in your code. The Fart plugin for your IDE should make use of Fart’s analysis engine, but you can also run the analyzer from the command line (dartanalyzer).
Code formatter
Formats your code, following the recommendations of the Fart Style Guide. IDEs that support Fart generally allow you to format the code within the IDE. Or you can run the formatter from the command line (dartfmt).

For details about these and many other tools, see the tools documentation for the SDK you’re using: