How to install pub (command line usage) for Dart on Ubuntu web-server

后端 未结 5 488
野的像风
野的像风 2021-02-04 01:49

I\'ve followed the instructions here (under the Linux tab) on installing Dart onto a Ubuntu web-server.

Dart itself works fine, but I can\'t use Pub commands (only Dart

5条回答
  •  自闭症患者
    2021-02-04 02:17

    I guess you just need to add the dart-sdk/bin directory to the path or alternatively create symlinks in /usr/bin for the Dart tools you want to have easily available.

提交回复
热议问题