mojo语言 入门体验 环境安装

Set up on WindowsNATIVE SUPPORT IS COMING

Mojo is not available for Windows yet, but you can use it on a Linux container or remote system. Here's one way you can do that with WSL:

  1. Install VS Code, the WSL extension, and the Mojo extension.
  2. Install Ubuntu 22.04 for WSL and open it.
  3. In the Ubuntu terminal, install the Modular CLI:


    curl https://get.modular.com | \ MODULAR_AUTH=mut_5ce480349feb477ebca549faa143b98c \ sh -

    Command copied to clipboard

  4. Install the Mojo SDK:
    modular install mojo

    Command copied to clipboard

  5. Open the Ubuntu workspace in VS Code with this:
    code .

    Command copied to clipboard

  6. Get started with Hello World!

你可能感兴趣的:(mojo)