Skip to content
Install Plugin >
  1. Open your JetBrains IDE (IntelliJ IDEA, CLion, RustRover, etc.)

  2. Go to Settings/PreferencesPluginsMarketplace

  3. Search for “Noir

  4. Click Install on the “Noir” plugin

  5. Restart the IDE when prompted

If the plugin isn’t available on Marketplace yet, or you need a specific version:

  1. Download the latest .zip from GitHub Releases

  2. Go to Settings/PreferencesPlugins⚙️ (gear icon) → Install Plugin from Disk…

  3. Select the downloaded .zip file

  4. Restart the IDE

The plugin requires nargo (the Noir compiler toolchain) for LSP features like code completion, diagnostics, and navigation.

Terminal window
# Install noirup
curl -L https://raw.githubusercontent.com/noir-lang/noirup/main/install | bash
# Install latest nargo
noirup
# Verify installation
nargo --version

For full installation instructions, see the official Noir documentation.

The plugin automatically detects nargo in the following order:

  1. Project Settings Override

    • If you’ve configured a nargo path in project settings, that takes precedence
  2. Application Settings

    • Global nargo path configured in Settings → Languages & Frameworks → Noir
  3. System PATH

    • The plugin searches your system PATH for the nargo executable

If the plugin can’t find nargo, check your shell configuration:

For Zsh (macOS default):

Terminal window
# Add to ~/.zshrc
export PATH="$HOME/.nargo/bin:$PATH"

For Bash:

Terminal window
# Add to ~/.bashrc or ~/.bash_profile
export PATH="$HOME/.nargo/bin:$PATH"

If you launch your IDE from Spotlight, Dock, or Finder on macOS, it may not inherit your shell’s PATH. Solutions:

  1. Launch from Terminal:

    Terminal window
    open -a "IntelliJ IDEA"
  2. Set PATH in IDE:

    • Go to Settings → Languages & Frameworks → Noir
    • Set the full path to nargo (e.g., /Users/you/.nargo/bin/nargo)
  3. Use launchctl (macOS):

    Terminal window
    sudo launchctl config user path "$HOME/.nargo/bin:/usr/local/bin:/usr/bin:/bin"
    # Then restart your Mac

After installation, verify everything works:

  1. Open a .nr file in your IDE

  2. Check for syntax highlighting - keywords like fn, struct, let should be colored

  3. Press Ctrl+Space to test code completion

  4. Check the status bar for LSP status (should show “Noir” when connected)

  5. If LSP isn’t working, go to Tools → Noir → Restart Language Server