Installation
Install the Noir JetBrains Plugin from Marketplace or from source
From JetBrains Marketplace (Recommended)
Section titled “From JetBrains Marketplace (Recommended)”-
Open your JetBrains IDE (IntelliJ IDEA, CLion, RustRover, etc.)
-
Go to Settings/Preferences → Plugins → Marketplace
-
Search for “Noir”
-
Click Install on the “Noir” plugin
-
Restart the IDE when prompted
Manual Installation
Section titled “Manual Installation”If the plugin isn’t available on Marketplace yet, or you need a specific version:
-
Download the latest
.zipfrom GitHub Releases -
Go to Settings/Preferences → Plugins → ⚙️ (gear icon) → Install Plugin from Disk…
-
Select the downloaded
.zipfile -
Restart the IDE
Installing Nargo
Section titled “Installing Nargo”The plugin requires nargo (the Noir compiler toolchain) for LSP features like code completion, diagnostics, and navigation.
# Install noirupcurl -L https://raw.githubusercontent.com/noir-lang/noirup/main/install | bash
# Install latest nargonoirup
# Verify installationnargo --versionbrew install noir-lang/noir/nargo
# Verify installationnargo --version# Clone the Noir repositorygit clone https://github.com/noir-lang/noir.gitcd noir
# Build nargocargo build --release -p nargo_cli
# Add to PATHexport PATH="$PATH:$(pwd)/target/release"For full installation instructions, see the official Noir documentation.
PATH Detection
Section titled “PATH Detection”The plugin automatically detects nargo in the following order:
-
Project Settings Override
- If you’ve configured a nargo path in project settings, that takes precedence
-
Application Settings
- Global nargo path configured in Settings → Languages & Frameworks → Noir
-
System PATH
- The plugin searches your system PATH for the
nargoexecutable
- The plugin searches your system PATH for the
Common PATH Issues
Section titled “Common PATH Issues”If the plugin can’t find nargo, check your shell configuration:
For Zsh (macOS default):
# Add to ~/.zshrcexport PATH="$HOME/.nargo/bin:$PATH"For Bash:
# Add to ~/.bashrc or ~/.bash_profileexport PATH="$HOME/.nargo/bin:$PATH"IDE-Launched PATH Issues
Section titled “IDE-Launched PATH Issues”If you launch your IDE from Spotlight, Dock, or Finder on macOS, it may not inherit your shell’s PATH. Solutions:
-
Launch from Terminal:
Terminal window open -a "IntelliJ IDEA" -
Set PATH in IDE:
- Go to Settings → Languages & Frameworks → Noir
- Set the full path to nargo (e.g.,
/Users/you/.nargo/bin/nargo)
-
Use launchctl (macOS):
Terminal window sudo launchctl config user path "$HOME/.nargo/bin:/usr/local/bin:/usr/bin:/bin"# Then restart your Mac
Verifying Installation
Section titled “Verifying Installation”After installation, verify everything works:
-
Open a
.nrfile in your IDE -
Check for syntax highlighting - keywords like
fn,struct,letshould be colored -
Press Ctrl+Space to test code completion
-
Check the status bar for LSP status (should show “Noir” when connected)
-
If LSP isn’t working, go to Tools → Noir → Restart Language Server
Next Steps
Section titled “Next Steps”- Quick Start Guide - 5-minute tutorial
- Configure Settings - customize the plugin
- Troubleshooting - if something isn’t working