![]() To change the PATH for future terminal sessions, use a command like this: $ echo 'export PATH="$PATH:/usr/lib/dart/bin"' > ~/. ![]() For example, use the following command to change PATH in your active terminal session: $ export PATH="$PATH:/usr/lib/dart/bin" Extract the zip-file and place the contained flutter in the desired installation location for the Flutter SDK (eg. Modify PATH for access to all Dart binariesĪfter installing the SDK, add its bin directory to your PATH. Then install the Dart SDK: $ sudo apt-get updateĪlternatively, download Dart SDK as a Debian package in the. $ sudo sh -c 'wget -qO- > /etc/apt//dart_stable.list' $ sudo apt-get install apt-transport-https Perform the following one-time setup: $ sudo apt-get update If you’re using Debian/Ubuntu on AMD64 (64-bit Intel), you can choose one of the following options, both of which can update the SDK automatically when new versions are released. To see which versions of Dart you’ve installed: $ brew info dart To continue using brew switch, downgrade Homebrew to a 2.6 version: $ cd /usr/local/Homebrew
0 Comments
Leave a Reply. |