Skip to content

Conversation

@zeldrisho
Copy link
Contributor

@zeldrisho zeldrisho commented Jan 7, 2026

Closes #7118, ScoopInstaller/Extras/issues/16947

Relates to #7261

scoop bucket add zeldrisho https://github.com/zeldrisho/scoop-bucket
scoop install zeldrisho/claude-code

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2026

Your changes did not pass all checks.

Please address the issues in the manifest and comment starting with /verify to rerun the checks.

claude-code

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate

Check the full log for details.

@zeldrisho zeldrisho changed the title claude-code: Add version 2.0.76 claude-code: Add version 2.1.0 Jan 7, 2026
@zeldrisho
Copy link
Contributor Author

/verify

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2026

All changes look good.

Wait for review from human collaborators.

claude-code

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate

Check the full log for details.

@oddrationale
Copy link
Contributor

@zeldrisho, let's collaborate on this one. I'll close my issue (ScoopInstaller/Extras#16947) and PR (ScoopInstaller/Extras#16948) in the Extras repository.

Can I make a few suggestions?

1. Disable auto-update
Since updates will be managed by scoop, we should probably disable the built-in auto-update feature.

...
    "env_set": {
        "DISABLE_AUTOUPDATER": "1"
    },
...

2. Get hash checksum from the manifest.json
We can get the checksum from the manifest.json file that Anthropic hosts instead of having scoop calculating it from the downloaded file. This helps ensures the checksum matches the official version.

...
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/$version/win32-x64/claude.exe",
                "hash": {
                    "url": "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/$version/manifest.json",
                    "jsonpath": "$.platforms.win32-x64.checksum"
                }
            }
        }
    }
...

3. Suggest git as a dependency
Since Claude Code works best with bash, we can suggest git as a dependency which includes git-bash.exe.

...
    "suggest": {
        "Git": "main/git"
    },
...

4. Include the license URL
Good practice.

...
    "license": {
        "identifier": "Proprietary",
        "url": "https://github.com/anthropics/claude-code/blob/main/LICENSE.md"
    },
...

Let me know if you prefer that I raise a PR against your fork. Or if you prefer to incorporate these yourself.

Hope we can get Claude Code officially in the scoop repository soon!

@zeldrisho
Copy link
Contributor Author

zeldrisho commented Jan 8, 2026

@oddrationale There is no need for DISABLE_AUTOUPDATER because claude-code can't auto-update when installed via Scoop

@oddrationale
Copy link
Contributor

@zeldrisho, thanks for being open to feedback!

Regarding DISABLE_AUTOUPDATER=1, I notice that if this is not set, then when you run claude doctor it shows:

Auto-updates: enabled

But if it is set, then claude doctor shows:

Auto-updates: disabled

I think the auto-update feature works by checking for the latest version and running claude update which would then install itself into %USERPROFILE%\.local\bin\claude.exe. I could be wrong, but this was the behavior I observed. So I think it would be safer to disable it.

Also, if you install using Homebrew on Mac/Linux, the auto-updater is disabled. So would make sense to do the same thing with scoop!

@Lutra-Fs Lutra-Fs mentioned this pull request Jan 15, 2026
2 tasks
@z-Fng
Copy link
Member

z-Fng commented Jan 19, 2026

#7124 (comment) We may need a workaround for users who use Git installations that are not managed by Scoop or haven't run scoop install git yet. Or at least a note for this.

Relying on the GIT_INSTALL_ROOT environment variable to locate bash.exe has quite a few drawbacks.

We might benefit from #7459:

@z-Fng z-Fng changed the title claude-code: Add version 2.1.0 claude-code: Add version 2.1.12 Jan 19, 2026
@z-Fng
Copy link
Member

z-Fng commented Jan 19, 2026

/verify

@github-actions
Copy link
Contributor

All changes look good.

Wait for review from human collaborators.

claude-code

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

Check the full log for details.

Copy link
Member

@z-Fng z-Fng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@o-l-a-v @zeldrisho @oddrationale Thank you all for your contribution!

@z-Fng z-Fng merged commit c9fe0a9 into ScoopInstaller:master Jan 19, 2026
3 checks passed
@zeldrisho zeldrisho deleted the claude-code branch January 19, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Request]: claude-code

3 participants