【发布时间】:2020-02-16 08:15:06
【问题描述】:
我在flutter目录下运行flutter命令,但是提示找不到命令
root/korra:/Desktop/flutter/bin# flutter
bash: flutter: command not found
但如果我将颤振拖放到终端,整个路径将在单引号下并运行所有内容
root@Korra:~# '/root/Desktop/flutter/bin/flutter'
Woah! You appear to be trying to run flutter as root.
We strongly recommend running the flutter tool without superuser privileges.
/
????
Manage your Flutter app development.
Common commands:
flutter create <output directory>
Create a new Flutter project in the specified directory.
flutter run [options]
Run your Flutter application on an attached device or in an emulator.
Run "flutter help <command>" for more information about a command.
Run "flutter help -v" for verbose help output, including less commonly used
options.
这也发生在其他文件上
【问题讨论】:
标签: linux ubuntu unix terminal kali-linux