Skip to content

Wiki

Environment Configuration

About 2 min read

1.Linux

https://dart.dev/get-dart

1.1.Installation method

1.1.1.APT
sudo apt-get update && sudo apt-get install apt-transport-https
wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub \
  | sudo gpg  --dearmor -o /usr/share/keyrings/dart.gpg
sudo apt-get update && sudo apt-get install dart
1.1.2.DNF
sudo dnf install dnf-plugins-core
sudo dnf copr enable albertop/dart
sudo dnf install dart

1.2.Verify whether the installation was successful

dart --version

alt text

1.3.VSCode plugin download

alt text

alt text

1.4.test

Create the first projectdemo01_helloworld.dart

void main() 
{
  print('Hello, World!');
}

Click to run alt text