mason-org / mason-org/mason.nvim

Add a :MasonUpdateAll command

Open
#445 25 comments 47 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Lua
Stars
10.5k
Forks
338
PR merge metrics
No merged PRs in 30d

Description

### I've searched open issues for similar requests

- [X] Yes

### Is your feature request related to a problem? Please describe.

I'd like a way to update all the packages in Mason.nvim running Neovim in headless mode.

### Describe the solution you'd like

I want to be able to run: `:MasonUpdateAll` in Neovim's command
or: `$ nvim --headless +"MasonUpdateAll"`

to periodically update all my packages without having to launch `:Mason` and then `Shift`+`U`

### Describe potential alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing Mason command handling and the package update entry points. Add the :MasonUpdateAll command so it can update every Mason package in an interactive session and from nvim --headless, then verify both invocation forms complete successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.