Dart 설치하기
System Requiremetns
2024.01.14 Dart 3.2.4 version 기준
OS | 항목 | requirements |
---|---|---|
Windows | OS | Windows 10 and 11. |
architectures | x64, IA32, ARM64. | |
Mac OS | OS | Mac OS 12, 13, 14 |
architectures | x64, ARM64. | |
Linux | OS | Debian stable, Ubuntu LTS |
architectures | x64, IA32, ARM64, ARM, RISC-V (RV64GC). |
Windows : Support for ARM64 is in preview, and is available only in the dev and beta channels.
Linux : Support for RISC-V is in preview, and is available only in the dev and beta channels.
Dart SDK install
dart 공식 홈페이지
https://dart.dev/get-dart
(1) Mac OS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# install
brew tap dart-lang/dart
brew install dart
# upgrade
brew upgrade dart
# 버전 변경
brew install dart@신규버전
brew unlink dart@기존버전
brew unlink dart@신규버전
brew link dart@신규버전
# dart 정보 표시
brew info dart
==> dart-lang/dart/dart: stable 3.2.4, HEAD
SDK ...
(2) Windows
1
2
3
4
5
# install
choco install dart-sdk
# upgrade
choco upgrade dart-sdk
(3) Linux
1
2
3
4
5
6
7
8
# install
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
echo 'deb [signed-by=/usr/share/keyrings/dart.gpg arch=amd64] https://storage.googleapis.com/download.dartlang.org/linux/debian stable main' | sudo tee /etc/apt/sources.list.d/dart_stable.list
sudo apt-get update
sudo apt-get install dart
Dart Pad
별도로 Dart SDK를 설치하지 않고 웹브라우저에서 Dart 를 연습할 수 있는 곳.
https://dartpad.dev/?
Reference
dart Docs : https://dart.dev/get-dart
노마드코더 : https://nomadcoders.co/dart-for-beginners/lectures/4092