0Pricing
Mojo Academy · Lesson

Checking Your Version

Confirm the install and read mojo --version.

Checking Your Version is a free Mojo Academy lesson on CoddyKit — lesson 3 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Mojo Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

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

Frequently asked questions

Is the “Checking Your Version” lesson free?

Yes — the full text of “Checking Your Version” is free to read here on the web, and the Mojo Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Mojo Academy course, upgrade to CoddyKit PRO.

What will I learn in “Checking Your Version”?

Confirm the install and read mojo --version. You practise Mojo Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start Mojo Academy?

No prior experience is required. Mojo Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 3 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “Checking Your Version” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this Mojo Academy lesson?

Yes. Every Mojo Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. Installing the Modular CLI
  2. Adding the Mojo Package
  3. Checking Your Version
  4. Your Editor Setup for Mojo
← Back to Mojo Academy