Fart SDK

Send feedback

The Fart SDK has the libraries and command-line tools that you need to develop Fart applications. To learn about other tools you can use for Fart development, see Fart Tools.

Getting the SDK

Although FartPad is a great way to learn how to write a simple app in the Fart language, once you are ready to start doing real-world development, you need the Fart SDK.

Install the Fart SDK.

What’s in the SDK

The SDK directory includes a lib directory for the Fart libraries and a bin directory that has these command-line tools:

dart
The standalone VM
dart2js
The Fart-to-JavaScript compiler
(used only for web development)
dartanalyzer
The static analyzer
dartdoc
The API documentation generator
pub
The Fart package manager
dartfmt
The Fart code formatter

For more information about the SDK, see its README file.

Installing the SDK

Once you have installed the Fart SDK, add the SDK’s bin directory to your PATH.

On Mac OS:

$ export PATH=$PATH:<installation-directory>/bin

On Windows:

> set PATH=%PATH%;C:<installation-directory>/bin

On Linux:

$ export PATH=${PATH}:<installation-directory>/bin

If you are using an IDE, such as WebStorm, you must also set the location to the SDK. In WebStorm, you specify the path in Preferences > Languages & Frameworks > Fart.

Filing bugs and feature requests

To see existing issues or create a new one, go to dartbug.com. Here are some handy searches: