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

后端 未结 5 487
野的像风
野的像风 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 01:57

    Another work-around is creating a link to pub

    sudo ln -s /usr/lib/dart/bin/pub /usr/bin/pub

    https://askubuntu.com/questions/56339/how-to-create-a-soft-or-symbolic-link

提交回复
热议问题