본문 바로가기
Flutter

플러터 Flutter 설치하기 2025

by 개발자언니 2025. 2. 19.
반응형

몇 년 전부터 플러터를 배우겠다고 이야기만 하다가 올해도 또 배우겠다고

설치부터 다시 해봅니다.

 

개발환경은 macOS 이고 iOS 개발은 이미 하고 있어서 Xcode 설치 부분은 생략했습니다.

Flutter 공식 사이트 접속

Flutter 공식 사이트

공식 사이트에 접속하고 Get started

flutter macOS

내가 사용하고 있는 운영체제를 선택하고

Choose your first type of app

첫 번째 앱 유형으로 iOS 선택해 줍니다.

 

Flutter SDK 다운로드

Flutter SDK를 다운로드하고 development 폴더에 압축을 풀어줍니다.

unzip ~/Downloads/flutter_macos_arm64_3.29.0-stable.zip \
       -d ~/development/

flutter 설치

PATH에 Flutter 추가

환경 변수를 설정해 주고

export PATH=$HOME/development/flutter/bin:$PATH

 

iOS 개발 구성

Xcode를 설치하고 명령줄 도구를 구성하고

sudo sh -c 'xcode-select -s /Applications/Xcode.app/Contents/Developer && xcodebuild -runFirstLaunch'

 

Xcode 라이선스에 서명합니다.

sudo xcodebuild -license

Sign the Xcode license agreement.

 

By typing 'agree' you are agreeing to the terms of the software license agreements.

Any other response will cancel. [agree, cancel] 

라고 나오면 agree 라고 적으면 됩니다.

 

Flutter 설치 확인 및 추가 설정

flutter doctor

flutter doctor 를 실행합니다.

  ╔════════════════════════════════════════════════════════════════════════════╗
  ║                 Welcome to Flutter! - https://flutter.dev                  ║
  ║                                                                            ║
  ║ The Flutter tool uses Google Analytics to anonymously report feature usage ║
  ║ statistics and basic crash reports. This data is used to help improve      ║
  ║ Flutter tools over time.                                                   ║
  ║                                                                            ║
  ║ Flutter tool analytics are not sent on the very first run. To disable      ║
  ║ reporting, type 'flutter config --no-analytics'. To display the current    ║
  ║ setting, type 'flutter config'. If you opt out of analytics, an opt-out    ║
  ║ event will be sent, and then no further information will be sent by the    ║
  ║ Flutter tool.                                                              ║
  ║                                                                            ║
  ║ By downloading the Flutter SDK, you agree to the Google Terms of Service.  ║
  ║ The Google Privacy Policy describes how data is handled in this service.   ║
  ║                                                                            ║
  ║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and  ║
  ║ crash reports to Google.                                                   ║
  ║                                                                            ║
  ║ Read about data we send with crash reports:                                ║
  ║ https://flutter.dev/to/crash-reporting                                     ║
  ║                                                                            ║
  ║ See Google's privacy policy:                                               ║
  ║ https://policies.google.com/privacy                                        ║
  ║                                                                            ║
  ║ To disable animations in this tool, use                                    ║
  ║ 'flutter config --no-cli-animations'.                                      ║
  ╚════════════════════════════════════════════════════════════════════════════╝

Welcom to Flutter 와 함께

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.29.0, on macOS 14.4.1 23E224 darwin-arm64 (Rosetta), locale ko-KR)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[!] Xcode - develop for iOS and macOS (Xcode 15.3)
    ! CocoaPods 1.15.2 out of date (1.16.2 is recommended).
        CocoaPods is a package manager for iOS or macOS platform code.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/to/platform-plugins
      To update CocoaPods, see
      https://guides.cocoapods.org/using/getting-started.html#updating-cocoapods
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.97.0)
[✓] Connected device (4 available)
[✓] Network resources

설치에 문제가 없는지 확인해 줍니다.

 

플러터 설치라는 큰 고개를 넘었으니 2025년 플러터 공부 파이탕 해봐야겠습니다!

반응형