Command-line and server apps
All things relating to command-line and server apps.
This page points to tools and documentation that can help you develop command-line and server apps.
Tools
#- DartPad
-
Handy for both beginners and experts, DartPad lets you try out language features and dart:* APIs.
- Dart SDK
-
Install the Dart SDK to get the core Dart libraries and tools.
Frameworks
#Server-side frameworks written in Dart include:
- Serverpod
-
A scalable app server that supports code generation, authentication, real-time communication, databases, and caching.
- Dart Frog
A fast, minimalistic backend framework for Dart.
- More tools
-
The Tools page links to generally useful tools, such as Dart plugins for your favorite IDE or editor.
For additional options, see #server packages on pub.dev.
Samples
#- A simple Dart HTTP server
-
- Uses the
shelfpackage. -
Also uses the
shelf_routerandshelf_staticpackages. - Is deployable on Cloud Run.
- Uses the
- A Dart HTTP server that uses Cloud Firestore
-
-
Uses the Cloud Firestore features in the
googleapispackage. -
Also uses the
googleapis_auth,shelf, andshelf_routerpackages. - Is deployable on Cloud Run.
-
Uses the Cloud Firestore features in the
More resources
#- Dart API
API reference for dart:* libraries.
dart:iodocumentation-
Shows how to use the major features of the dart:io library. You can use the dart:io library in command-line scripts, servers, and non-web Flutter apps.
- Using Google Cloud
-
Guides and documentation on Google Cloud products that Dart servers can use, such as Cloud Run.
- Using Google APIs
Resources to help you use Firebase and Google client APIs from a Dart app.
Unless stated otherwise, the documentation on this site reflects Dart 3.10.3. Page last updated on 2026-2-2. View source or report an issue.