I use Linux (i.e. Ubuntu 23.04) and I installed the Dart SDK with the instructions mentioned on Dart's website. The dart command is accessible but I can not use the dartaotruntime command. The terminal says that the command is not found. What is the workaround for this issue?
There are an ongoing issue about the command are not on the PATH when installing the deb package for Dart: https://github.com/dart-lang/sdk/issues/49293
You can manually find the executable as /usr/lib/dart/bin/dartaotruntime
. If you need it, I wound either recommend:
/usr/lib/dart/bin/
on your PATH.Or you can just directly call it with the full PATH when needed.