0Pricing
Mojo Academy · درس

التحقق من الإصدار

تأكد من التثبيت واقرأ mojo --version

التحقق من الإصدار درس مجاني في Mojo Academy على CoddyKit. هذا هو الدرس 3 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 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 --version

Reading 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 --version

Check the CLI Too

You can also confirm the manager itself. Asking magic for its version separates a CLI problem from a Mojo problem.

magic --version

When 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 update

See What Is Installed

Curious about every dependency? magic list shows the packages and exact versions your project currently pins.

magic list

Note 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! 🎯

الأسئلة الشائعة

هل درس «التحقق من الإصدار» مجاني؟

نعم — نص درس «التحقق من الإصدار» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة Mojo Academy، انتقل إلى CoddyKit PRO. تتضمن دورة Mojo Academy 4 دروس في المجموع.

ماذا ستتعلم في «التحقق من الإصدار»؟

تأكد من التثبيت واقرأ mojo --version تتمرن على Mojo Academy مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.

هل أحتاج إلى خبرة سابقة لأبدأ Mojo Academy؟

لا تُشترط خبرة سابقة. Mojo Academy على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 3 من أصل 4.

كم من الوقت يستغرق درس «التحقق من الإصدار»؟

معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.

هل يمكنني كتابة وتشغيل أكواد في درس Mojo Academy هذا؟

نعم. كل درس في Mojo Academy يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.

جميع الدروس في هذه الدورة

  1. تثبيت Modular CLI
  2. إضافة حزمة Mojo
  3. التحقق من الإصدار
  4. إعداد محررك لـ Mojo
← العودة إلى Mojo Academy