การตรวจสอบเวอร์ชัน
ยืนยันการติดตั้งและอ่าน mojo --version
การตรวจสอบเวอร์ชัน เป็นบทเรียน Mojo Academy ฟรีบน CoddyKit นี่คือบทเรียนที่ 3 จากทั้งหมด 4 บทเรียน คุณสามารถอ่านบทเรียนทั้งหมดด้านล่างฟรี — จากนั้นลองปฏิบัติด้วยตัวคุณเองในเบราว์เซอร์พร้อมตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7 บทเรียนนี้เป็นส่วนหนึ่งของเส้นทางการเรียน Mojo Academy และความก้าวหน้าของคุณจะซิงค์ข้ามเว็บและแอป CoddyKit คอร์ส Mojo Academy มีบทเรียนทั้งหมด 4 บทเรียน
บางส่วนของบทเรียนนี้ยังไม่ได้รับการแปล และแสดงเป็นภาษาอังกฤษ
Trust, Then Verify
An install is not done until you prove it works. The fastest proof is asking Mojo to report its own version. ✅
The Version Command
Inside your activated project, run mojo with the --version flag. A clean version string means the compiler is reachable.
mojo --versionReading the Output
The output names the language and a version number like 24.x. That number tells you exactly which release you are on.
mojo 24.4.0 (abc123)Why Versions Matter
Mojo is young and evolving fast. Knowing your version helps you match tutorials and report issues that actually apply to you.
Check Without the Shell
Not in a magic shell? Run it through the project manager instead, so the right toolchain answers with magic run.
magic run mojo --versionCheck the CLI Too
You can also confirm the manager itself. Asking magic for its version separates a CLI problem from a Mojo problem.
magic --versionWhen mojo Is Not Found
A not-found error usually means you are outside the project. Run magic shell first, or prefix the command with magic run.
Keeping Mojo Updated
New releases land often. Refresh your project's packages with magic update to move to the latest compatible Mojo.
magic updateSee What Is Installed
Curious about every dependency? magic list shows the packages and exact versions your project currently pins.
magic listNote It for Later
Jot down your version when following a guide. If something behaves oddly, that version number is the first clue to share.
Try a Nightly Build
Want the newest features early? Modular offers a nightly channel, though those builds change fast and can be less stable.
Quick Check
Recall the flag that makes Mojo print which release you have installed.
Recap
You verified the install with mojo --version, learned to read the number, and can refresh it with magic update. Confirmed! 🎯
คำถามที่พบบ่อย
บทเรียน “การตรวจสอบเวอร์ชัน” ฟรีหรือไม่
ใช่ — ข้อความเต็มของ “การตรวจสอบเวอร์ชัน” ฟรีให้อ่านที่นี่บนเว็บ เพื่อปฏิบัติแบบโต้ตอบ (ตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7) และปลดล็อคส่วนที่เหลือของคอร์ส Mojo Academy ให้อัปเกรดเป็น CoddyKit PRO คอร์ส Mojo Academy มีบทเรียนทั้งหมด 4 บทเรียน
คุณจะเรียนรู้อะไรในบทเรียน “การตรวจสอบเวอร์ชัน”
ยืนยันการติดตั้งและอ่าน mojo --version คุณปฏิบัติ Mojo Academy ด้วยโค้ดที่ใช้งานได้จริงที่คุณเรียกใช้โดยตรงในเบราว์เซอร์ และติวเตอร์ AI ตลอด 24/7 ตอบคำถามของคุณขณะที่คุณไปผ่านบทเรียน
คุณต้องมีประสบการณ์ก่อนที่จะเริ่มเรียน Mojo Academy หรือไม่
ไม่จำเป็นต้องมีประสบการณ์มาก่อน Mojo Academy บน CoddyKit ออกแบบมาสำหรับผู้เริ่มต้นไปจนถึงผู้เรียนขั้นสูง คุณสามารถเริ่มต้นที่นี่หรือเริ่มจากตัวแรกและเรียนด้วยความเร็วของคุณเอง นี่คือบทเรียนที่ 3 จากทั้งหมด 4 บทเรียน
บทเรียน “การตรวจสอบเวอร์ชัน” ใช้เวลานานแค่ไหน
บทเรียน CoddyKit ส่วนใหญ่ใช้เวลาประมาณ 5–10 นาที แต่ละบทเรียนจึงสั้นและเป็นแบบโต้ตอบ คุณสามารถก้าวหน้าอย่างต่อเนื่องและกลับมาเรียนต่อจากตรงที่เพิ่งหยุดบนเว็บและแอปได้เลย
ฉันเขียนและรันโค้ดในบทเรียน Mojo Academy นี้ได้ไหม
ได้ บทเรียน Mojo Academy ทุกบทมีตัวแก้ไขโค้ดในตัว คุณจึงเขียนและรันโค้ดจริงได้เลยในเบราว์เซอร์ และได้รับข้อเสนอแนะจาก AI ในทันที — ไม่ต้องติดตั้งในเครื่องของคุณ