ワンクリックで
update-packages
Update Claude Code and other npm packages in pkgs/
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Update Claude Code and other npm packages in pkgs/
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | update-packages |
| description | Update Claude Code and other npm packages in pkgs/ |
| user-invocable | true |
Update npm packages in the /data/machine/pkgs/ directory, including Claude Code.
Update Claude Code dependencies
cd /data/machine/pkgs/claude-code && npm update
This updates the @anthropic-ai/claude-code dependency to the latest version and resolves transitive dependencies.
Build the package to test
cd /data/machine && nix build .#packages.x86_64-linux.claude-code
This validates that the updated dependencies work correctly with the Nix build system.
Verify the build
./result/bin/claude --version
Confirm the updated Claude Code is working properly.
Update package-lock.json
After npm update, the package-lock.json should be updated. If changes are made to pkgs/claude-code/package-lock.json, commit them.
switch-to-configuration