Check flutter version in Mac (플러터 작업환경 버전 확인)

💜Dabo (개발자 다보)·2021년 4월 15일
0

# flutter version

flutter --version

console

➜  flutter --version

Flutter 1.22.6 • channel stable • [https://github.com/flutter/flutter.git](https://github.com/flutter/flutter.git)
Framework • revision 9b2d32b605 (12 days ago) • 2021-01-22 14:36:39 -0800
Engine • revision 2f0af37152
Tools • Dart 2.10.5

zsh: command not found: flutter

1. command (terminal)

deuboraan@Deuboraui-Macmini dev % ls -ll
total 0
drwxr-xr-x@ 25 deuboraan  staff  800  1 26 04:46 flutter
deuboraan@Deuboraui-Macmini dev % pwd
/Users/deuboraan/Bora/dev
deuboraan@Deuboraui-Macmini dev % export PATH="$PATH:/Users/deuboraan/Bora/dev/flutter/bin"
deuboraan@Deuboraui-Macmini dev % vim $HOME/.zshrc
deuboraan@Deuboraui-Macmini dev % flutter       
flutter      flutter.bat

2. add the following line in the opened file:

export PATH="$PATH:/YOUR_FLUTTER_DIR/flutter/bin"



cf
https://stackoverflow.com/questions/58400500/zsh-command-not-found-flutter


# xcode version

/usr/bin/xcodebuild -version

console

➜  ~ /usr/bin/xcodebuild -version

Xcode 12.4

Build version 12D4e

# cocoapods version

gem which cocoapods

console

➜  ~ gem which cocoapods

/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods.rb

profile
𝙸 𝚊𝚖 𝚊 𝚌𝚞𝚛𝚒𝚘𝚞𝚜 𝚍𝚎𝚟𝚎𝚕𝚘𝚙𝚎𝚛 𝚠𝚑𝚘 𝚎𝚗𝚓𝚘𝚢𝚜 𝚍𝚎𝚏𝚒𝚗𝚒𝚗𝚐 𝚊 𝚙𝚛𝚘𝚋𝚕𝚎𝚖. 🇰🇷👩🏻‍💻

0개의 댓글