How to install Mojo on Windows || Configure Modular's Programming Language & Write your First App

preview_player
Показать описание
The Mojo programming language from Modular AI isn't natively supported on Windows.

However, with a little bit of effort, and a little help from the Windows subsystem for Linux (WSL), you can get Windows and Mojo to work together.

In this quick Mojo tutorial, I'll show you how to configure Mojo on Windows, and also take you through some language basics:

- Running the Mojo REPL programs on Windows
- Creating standalone Mojo apps on Windows
- Use the let and var keywords
- Declare typed variables
- Compare Python's def vs fn method syntax
- Explore similarities between Mojo and Java

This isn't a full blown 'how to program in Mojo' tutorial. It's just a quick video to help you get Mojo on Windows setup and configured, and teach you how to get a Mojo program running.

It's a great start, and if you enjoy it, stay tuned for more great Mojo programming language content. Who knows, we might even set up Visual Studio Code and show you how to program Mojo in an IDE.

Trust me, Mojo and VS Code are a great pair! It'll take your AI and ML programming to a whole new level!

0:00 Introduction to Modular Mojo
0:47 The Mojo Programming Language
2:10 WSL check
3:30 Install Windows Linux Subsystem
4:40 Install Modular AI CLI
6:04 python3.8-venv error
6:30 Sudo install python3.8-venv
7:20 Install Mojo programming language
8:15 Set MODULAR_HOME
9:02 Mojo REPL
9:10 Mojo Hello World
11:26 First Mojo Program
13:45 Mojo build
14:45 Scrum Master Certification Guide
15:41 Conditional logic in Mojo
18:04 var vs let in Mojo
19:00 Loops in Mojo
20:00 Run the Mojo Program
21:00 More Mojo Tutorials
Рекомендации по теме
Комментарии
Автор

Why have I never seen your videos?
You look so cool! I am so excited to hear someone hip talk about these thing finally someone that I can understand and won’t bore me to death.

FatimaHayder-lp
Автор

Such a great video with well explained content.
Keep going sir!

ankittsj
Автор

>> Let's install this on Windows!
[Proceeds to load WSL and install it on Linux]

akeylawhite
Автор

Hello!

thank you for the video. I dont understand something, when you install mojo if you start to install libraries where are they saved?, are you be available to create conda enviroment or python virtual enviroments and there use mojo ?, becasue that´s what the documentation says, but when I do it I cant run mojo code in those enviroments

orlandogarcia
Автор

imagine working ur whole life and u miss all this by making the install dosent work

unseenblades
Автор

misleading title. should say how to install mojo on a linux emulator.
i prefer a language that runs on windows.

androth
join shbcf.ru