Getting Started

Odin is dead-simple to get started with. Pick your platform and follow the steps below.

Windows macOS Linux FreeBSD NetBSD OpenBSD Haiku experimental
Recommended

Download a release

Download the latest monthly or nightly release for Windows x86-64.

Requirements

MSVC Build Tools
Odin needs the MSVC compiler and Windows SDK. Download the installer, select "Desktop development with C++", and tick both MSVC and Windows SDK. Microsoft Installer with Desktop development with C++, MSVC, and Windows SDK checked For a minimal install, use this third-party script.
PATH (optional)
Add the Odin directory to PATH so odin.exe is accessible from anywhere.
Advanced Build from source
  1. Install MSVC Build Tools as described above.
  2. Set up the x64 environment — either run the x64 Native Tools Command Prompt for VS20xx shortcut (search the Start menu), or run:
    vcvarsall.bat x64
  3. Clone the repository:
    git clone https://github.com/odin-lang/Odin
  4. Navigate to the folder:
    cd Odin
  5. Optionally check out a specific release:
    git checkout dev-YYYY-MM
  6. Build:
    build.bat release
  7. Optionally add to PATH (see above).
Updating
  1. Open the x64 developer command prompt (step 2 above)
  2. Navigate to the Odin folder
  3. Optionally:
    git checkout dev-YYYY-MM
  4. git pull
  5. build.bat release

Package Managers

Third-party package managers also ship Odin. Repology tracks their status:

Packaging status across package repositories

These packages are maintained by third parties — direct support questions to their maintainers.

What's next Language Overview → A tour of Odin's syntax, types, procedures, and core concepts.