← Package directory
Available on winget

Install 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).

Install with winget
winget install --id Rustlang.rust-analyzer
Upgrade
winget upgrade --id Rustlang.rust-analyzer
Uninstall
winget uninstall --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). rust-analyzer features include go-to-definition, find-all-references, refactorings and code completion. rust-analyzer also supports integrated formatting (with rustfmt) and integrated diagnostics (with rustc and clippy).

What's new in 2026-06-01

Commit: c5d30e2 Release: 2026-06-01 (v0.3.2921) New Features - #22411 add cannot-implicitly-deref-trait-object diagnostic. Performance Improvements - #22493 make MemDocs cheap to clone since it's snapshotted. Fixes - #22473 port block and loop inference from rustc. - #22476 only complete functional record update at the end of the literal. - #22449 fix an expected analysis regression with enum variants. - #22409, #22453 filter out reference completions for generic reference parameters. - #22452 prioritize missing fields in pattern completion. - #22437 handle macros in extract_module. - #22447 fix extract_variable in macro calls. - #22498 also consider library features internal. - #22426 fix potential panic in CfgDiff formatting. - #22342 don't double references with &mut T in add_reference_here. - #21566 fix SyntaxContext roots potentially overlapping interneds. Internal Improvements - #22465 improve syntax mapping in for loop desugaring. - #22474 intern MIR projections using the new type interning infrastructure. - #22477, #22484 replace ast::make with SyntaxFactory in derive_macro, edits, prettify_macro_expansion_ and rename. - #22500 always use sysroot crates for proc-macro-srv. - #22427 fix inactive region handling in MiniCore. - #22501 don't depend on salsa for the proc-macro-srv CI job. - #22492, #22502 use 1 CGU for release builds. See also the changelog post.

Read release notes

Version history

Version Updated Notes
2026-06-01 Commit: c5d30e2 Release: 2026-06-01 (v0.3.2921) New Features - #22411 add cannot-implicitly-deref-trait-object diagnostic. Performance Improvements - #22493 make MemDocs cheap to clone since it's snapshotted. Fixes - #22...