brew tap dart-lang/dart
brew install dart@2
- no --with-dartium and --with-content-shell
brew link --force dart@2
pub global activate webdev
- modify shell rc file and re-source
- prepare pubspec.yaml
pub get
webdev serve web:8000 --hot-reload
note) these files in web/ diretory are generated from stagehand command and shaved by me.