rust-analyzer

Install rust-analyzer with winget

Rustlang.rust-analyzer · The Rust Project Developers

Install command

winget install -e --id Rustlang.rust-analyzer

About rust-analyzer

rust-analyzer is a language server that provides IDE functionality for writing Rust programs. You can use it with any editor that supports the Language Server Protocol (VS Code, Vim, Emacs, Zed, etc).

Last updated
1 weeks ago
Version
v2026-06-01
License
Apache-2.0 AND MIT
Min OS
Windows 10+
Catalog refreshed: 6/12/2026

How to install rust-analyzer

  1. 1
    Make sure winget is available
    Windows 11 and recent Windows 10 builds ship winget via the App Installer. Check it’s ready:
    winget --version
    If it’s missing, install App Installer from the Microsoft Store.
  2. 2
    Open a terminal
    Launch Windows Terminal, PowerShell, or Command Prompt.
    Right-click the Start button — or press ⊞ Win + X
    Disk Management
    Computer Management
    Terminal
    Terminal (Admin)
    Task Manager
    Settings
    Windows Terminal
    PS C:\>
  3. 3
    Run the install command
    Installs the latest version of rust-analyzer. The -e flag matches the exact package ID.
    winget install -e --id Rustlang.rust-analyzer
    Windows Terminal — winget
    PS C:\>
  4. 4
    Silent / unattended install (optional)
    For scripts or deployment, install with no prompts (works with the .zip installer):
    winget install -e --id Rustlang.rust-analyzer --silent --accept-package-agreements --accept-source-agreements

Other commands

Upgradewinget upgrade -e --id Rustlang.rust-analyzer
Uninstallwinget uninstall -e --id Rustlang.rust-analyzer
Show detailswinget show -e --id Rustlang.rust-analyzer

Comments

Leave a comment