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:
Windows PowerShell
Execute the command below in PowerShell to install Dart and DartStream:
Linux
Run the following command in your terminal to install Dart and DartStream:
Post-Installation Steps
After running the appropriate installation command, restart your terminal session to ensure the changes take effect.
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:
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:
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
Last updated