Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Bug] Instead of installing latest version of an extension, install an older one using cli #7631

Open
Labels
bugSomething isn't working triageThis issue needs to be triaged by a maintainer
@ihiverlet

Description

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser:
  • Local OS:
  • Remote OS: Ubuntu
  • Remote Architecture: x86_64
  • code-server --version: 4.107.1 8c077bf with Code 1.107.1

Steps to Reproduce

Using the cli (example with ruff extension)

code-server --install-extension charliermarsh.ruff

Expected

I expect the latest version to be installed eg 2026340. However an older one is installed : 2022017

Actual

The newest version is installed only if I specify it.

code-server --install-extension charliermarsh.ruff@2026340 --verbose

I observe the same behavior for other extensions like continue.continue or hediet.vscode-drawio.

Logs

$ code-server --install-extension charliermarsh.ruff --verbose
[2026年01月12日T12:21:41.519Z] debug Found VS Code arguments; spawning VS Code CLI
[2026年01月12日T12:21:41.521Z] debug Running Code CLI
Installing extensions...
Installing extension 'charliermarsh.ruff'...
Extension 'ms-python.vscode-python-envs' v1.16.0 was successfully installed.
Extension 'charliermarsh.ruff' v2022.0.17 was successfully installed.
Extension 'ms-python.debugpy' v2024.0.0 was successfully installed.
Extension 'ms-python.python' v2026.0.0 was successfully installed.
$ code-server --install-extension charliermarsh.ruff@2026340 --verbose
[2026年01月12日T12:41:33.475Z] debug Found VS Code arguments; spawning VS Code CLI
[2026年01月12日T12:41:33.476Z] debug Running Code CLI
Installing extensions...
Installing extension 'charliermarsh.ruff' v2026.34.0...
Extension 'ms-python.python' v2026.0.0 was successfully installed.
Extension 'ms-python.vscode-python-envs' v1.16.0 was successfully installed.
Extension 'ms-python.debugpy' v2024.0.0 was successfully installed.
Extension 'charliermarsh.ruff' v2026.34.0 was successfully installed.

Screenshot/Video

No response

Does this bug reproduce in native VS Code?

I did not test native VS Code

Does this bug reproduce in VS Code web?

I did not test VS Code web

Does this bug reproduce in GitHub Codespaces?

I did not test GitHub Codespaces

Are you accessing code-server over a secure context?

  • I am using a secure context.

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working triageThis issue needs to be triaged by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /