0Pricing
Mojo Academy · Ders

Mojo Paketini Ekleme

Mojo'yu Modular araç zinciri üzerinden kurun.

Mojo Paketini Ekleme, CoddyKit'te ücretsiz bir Mojo Academy dersidir. Bu, 4 dersinin 2. dersidir. Aşağıdan dersin tamamını ücretsiz okuyabilir, sonra tarayıcıda yerleşik kod editörü ve 7/24 yapay zeka koçu ile uygulamalı olarak pratik yapabilirsin. Bu, Mojo Academy öğrenme yolunun bir parçasıdır ve ilerlemeniz web ve CoddyKit uygulaması arasında senkronize olur. Mojo Academy kursu toplamda 4 dersten oluşur.

Bu dersin bazı bölümleri henüz çevrilmemiş olup İngilizce olarak gösterilmektedir.

The CLI Is Not Mojo Yet

Installing magic gave you the manager, not the language. Now you add Mojo itself into a project through that toolchain. 📦

Projects Hold Your Toolchain

With magic, Mojo lives inside a project folder. Each project gets its own pinned version, so different apps never clash.

Create a New Project

Start by making a project. The magic init command scaffolds a folder ready to hold Mojo and its dependencies.

magic init my-mojo-app

Step Into the Folder

Move into the new directory so the next commands run in the right place. This folder is your project root.

cd my-mojo-app

Add the Mojo Package

Pull Mojo into the project with magic add. This downloads the compiler and standard library as a package the project depends on.

magic add mojo

The Manifest File

Your dependencies are tracked in a pixi.toml manifest. Adding mojo records it there so the setup is reproducible later.

The Lock File

Alongside the manifest sits a lock file pinning exact versions. It guarantees teammates get the very same toolchain you have.

Enter the Environment

Activate the project so its tools are on your PATH. Inside a magic shell, the mojo command becomes available to you.

magic shell

Run Without Activating

Prefer not to enter a shell? Prefix any command with magic run to use the project's Mojo for just that one command.

magic run mojo --version

Mojo Is Now Local

Because Mojo lives in the project, deleting the folder removes it cleanly. Nothing is scattered globally across your system.

Share It with Others

Commit pixi.toml and the lock file to git. A teammate then runs magic install to recreate the exact same Mojo setup.

magic install

Quick Check

Recall the command that pulls Mojo into your project after you create it.

Recap

You ran magic init, then magic add mojo, and the package landed in pixi.toml. Enter it with magic shell to use mojo. 🎯

Sıkça Sorulan Sorular

“Mojo Paketini Ekleme” dersi ücretsiz mi?

Evet — “Mojo Paketini Ekleme” dersin tüm metni burada web'de ücretsiz olarak okunabilir. Etkileşimli olarak pratik yapmak (yerleşik kod editörü ve 7/24 yapay zeka koçu) ve Mojo Academy kursunun geri kalanını açmak için CoddyKit PRO'ya yükselt. Mojo Academy kursu toplamda 4 dersten oluşur.

“Mojo Paketini Ekleme” dersinde ne öğreneceğim?

Mojo'yu Modular araç zinciri üzerinden kurun. Mojo Academy ile uygulamalı kodu tarayıcıda doğrudan çalıştırarak pratik yaparsın ve 7/24 yapay zeka koçu dersi çalışırken sorularını yanıtlar.

Mojo Academy öğrenmeye başlamak için deneyim gerekli mi?

Önceden deneyim gerekmez. CoddyKit'te Mojo Academy, başlangıçtan ileri seviyeye kadar yapılandırıldığı için buradan başlayabilir veya başından başlayıp kendi hızında ilerleme yapabilirsin. Bu, 4 dersinin 2. dersidir.

“Mojo Paketini Ekleme” dersi ne kadar sürer?

Çoğu CoddyKit dersi yaklaşık 5–10 dakika sürer. Her biri kısa ve etkileşimli olduğu için sabit ilerleme yaparsın ve web ile uygulama arasında tam olarak bıraktığın yerden devam edebilirsin.

Bu Mojo Academy dersinde kod yazıp çalıştırabilir miyim?

Evet. Her Mojo Academy dersi yerleşik bir kod editörü içerir, bu sayede tarayıcıda gerçek kod yazıp çalıştırabilir ve anlık yapay zeka geri bildirimi alırsın — yerel kurulum gerekli değildir.

Bu kursun tüm dersleri

  1. Modular CLI'yi Kurma
  2. Mojo Paketini Ekleme
  3. Sürümünüzü Denetleme
  4. Mojo için Düzenleyici Kurulumu
← Mojo Academy Sayfasına Dön