Dart Stream Developer
  • 👋Dartstream Framework
  • Prologue
    • Release Notes
      • Latest Release Notes
      • All Release Notes
    • Upgrade Guide
    • Contribution Guide
  • Getting Started
    • 😀Installation
    • ✨Our Features
      • Standard
        • CLI
        • Frontend Frameworks
        • Authentication
        • Cloud Storage
        • Database
        • Data Streaming
        • Feature Flags
        • Middleware
      • Enhanced
        • Email Management
        • Payment System Integration
        • Notifications
        • Localization and Internalization
        • Access Control and Security
        • Media Management
        • Search and Filtering
        • Audit Logging and Compliance
        • Analytics and Insights
    • 😀Directory Structure
    • 🦕Deployment
  • Product Guides
    • 📪Making a post
    • 📎Understanding Projects
    • 💡Video Guides
  • Documentation
    • 🛠️Fundamentals
      • 📝The Basics
        • Routing
        • Middleware
        • CSRF Protection
        • Controllers
        • Requests
        • Responses
        • Asset Bundling
        • URL Generation
        • Session
        • Validation
        • Error Handling
        • Logging
      • ℹ️Advanced
        • Broadcasting
        • Cache
        • Events
        • Feature Flags
        • File Storage
          • GCP
          • Amazon S3
          • Microsoft Blob Storage
        • Helpers
        • Http Client
        • Localization
        • Mail
        • Notifications
        • ORM
    • 📦Packages
      • 🧰Tools
      • 🍮Standard
      • 💸Enhanced
      • 💸Experimental
    • 😀SDKS
      • Firebase Admin SDK
      • Amazon Cognito SDK
      • Azure AD SDK
  • API Reference
  • Use Cases
    • 🎨For Designers
    • 🖥️For Developers
      • DartStream Extension Registration System
Powered by GitBook
On this page
  1. Getting Started

Installation

How we install the framework

Before creating your first DartStream application, ensure that your local machine has Dart, and the DartStream CLI installed. Additionally, for projects requiring frontend frameworks, you should install either Node.js and npm or Bun to manage your frontend dependencies.

Installing Dart and DartStream CLI

If you don't have Dart and Dart Pub installed on your local machine, you can follow the commands below to install Dart along with the DartStream CLI on macOS, Windows, or Linux:

macOS

Run the following command to install Dart and the DartStream CLI:

/bin/bash -c "$(curl -fsSL https://dart.new/install/mac/latest)"

Windows PowerShell

Execute the command below in PowerShell to install Dart and DartStream:

Invoke-WebRequest -Uri https://dart.new/install/windows/latest -OutFile install.ps1; powershell -ExecutionPolicy Bypass -File ./install.ps1  

Linux

Run the following command in your terminal to install Dart and DartStream:

/bin/bash -c "$(curl -fsSL https://dart.new/install/linux/latest)"  

Post-Installation Steps

  1. After running the appropriate installation command, restart your terminal session to ensure the changes take effect.

  2. To update Dart, Dart Pub, and the DartStream CLI in the future, re-run the installation command for your platform.

Installing DartStream CLI

If Dart is already installed on your machine, you can install the DartStream CLI via Dart Pub:

dart pub global activate dartstream  

After installation, ensure the dartstream command is globally available by adding Dart's global executables to your system's PATH. You can verify the installation with:

ds --version  

Additional Requirements for Frontend Development

DartStream supports frontend frameworks like Vue.js, React, Svelte, Flutter web etc., each frontend framework has slightly different requirements which will be listed below:

React

Vue.js

Svelte

Android Compose

Flutter Web

Flame

Next Steps

PreviousContribution GuideNextOur Features

Last updated 5 months ago

With Dart, and DartStream CLI installed, you’re ready to create your first DartStream project. Check out the section to start building your application!

😀
Project Initialization