Friday, January 3, 2020

การ install flutter ใน Mac

ภายหลังจากทำการ download flutter และทำการแตกไฟล์แล้ว ให้ทำการเพิ่ม path (เพื่อทำให้สามารถเรียกใช้คำสั่ง flutter ได้จากทุก terminal) โดยสมมติว่าเราเก็บไฟล์ที่ทำการแตก zip ไว้ที่

/Users/suwan/Documents/flutter/bin 

ให้ run คำสั่ง

sudo vi /etc/paths

แล้วทำการเพิ่มบรรทัดข้างล่างนี้ (directory ที่เก็บ flutter/bin) เข้าไป

/Users/suwan/Documents/flutter/bin


1 comment:

  1. Nice articel, This article help me very well. Thank you. Also please check my article on my site Know All About Web Tutorial.

    ReplyDelete