{"record":{"id":"e546de45b11719c6","repo":"asdf-vm/asdf","slug":"command-removed","errorCode":null,"errorMessage":"command removed","messagePattern":"command removed","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"internal/cli/cli.go","lineNumber":335,"sourceCode":"\t\t\t\tAction: func(_ context.Context, cmd *cli.Command) error {\n\t\t\t\t\targs := cmd.Args()\n\t\t\t\t\treturn shimVersionsCommand(logger, args.Get(0))\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tName: \"uninstall\",\n\t\t\t\tAction: func(_ context.Context, cmd *cli.Command) error {\n\t\t\t\t\ttool := cmd.Args().Get(0)\n\t\t\t\t\tversion := cmd.Args().Get(1)\n\n\t\t\t\t\treturn uninstallCommand(logger, tool, version)\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tName: \"update\",\n\t\t\t\tAction: func(_ context.Context, _ *cli.Command) error {\n\t\t\t\t\tfmt.Println(updateCommandRemovedText)\n\t\t\t\t\treturn errors.New(\"command removed\")\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tName: \"where\",\n\t\t\t\tAction: func(_ context.Context, cmd *cli.Command) error {\n\t\t\t\t\ttool := cmd.Args().Get(0)\n\t\t\t\t\tversion := cmd.Args().Get(1)\n\n\t\t\t\t\treturn whereCommand(logger, tool, version)\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tName: \"which\",\n\t\t\t\tAction: func(_ context.Context, cmd *cli.Command) error {\n\t\t\t\t\ttool := cmd.Args().Get(0)\n\n\t\t\t\t\treturn whichCommand(logger, tool)\n\t\t\t\t},","sourceCodeStart":317,"sourceCodeEnd":353,"githubUrl":"https://github.com/asdf-vm/asdf/blob/074a1722ca88d6677f228541ce06efaf4f9924d4/internal/cli/cli.go#L317-L353","documentation":"The `asdf update` command was removed from this version of asdf; invoking it prints an explanatory notice and returns this sentinel error so the CLI exits non-zero. It is an intentional hard stop, not a malfunction.","triggerScenarios":"Running `asdf update` (or any invocation routed to the 'update' command) in a version of asdf where the self-update command has been removed.","commonSituations":"Scripts, CI pipelines, or shell aliases written for older asdf versions that auto-update the tool; users migrating from asdf 0.15-and-earlier workflows where `asdf update` existed.","solutions":["Stop using `asdf update`; update asdf via your package manager (brew upgrade asdf, apt, etc.) or by reinstalling from the official release","Remove or replace `asdf update` calls in shell rc files, scripts, and CI configs","Check `asdf --help` for the current command surface if you need a related action"],"exampleFix":"// before\nasdf update\n// after\nbrew upgrade asdf   # or your platform's package manager / git pull in ~/.asdf","handlingStrategy":"fallback","validationCode":"// guard before calling in scripts\nif asdf --help 2>/dev/null | grep -q '^  update'; then\n  asdf update\nelse\n  echo 'asdf update removed; use your package manager' >&2\nfi","typeGuard":null,"tryCatchPattern":"// shell: tolerate the removal\nif ! asdf update 2>/dev/null; then\n  echo \"update skipped: command removed\" >&2\nfi","preventionTips":["Never call `asdf update` in new scripts; use the package manager","Audit shell rc files and CI configs for legacy asdf update calls","Pin asdf versions in CI and update deliberately"],"tags":["cli","removed-command","asdf"],"backgroundTag":"command-removed","analyzedSha":"074a1722ca88d6677f228541ce06efaf4f9924d4","analyzedAt":"2026-08-30T19:56:42.972Z","schemaVersion":2},"datasetVersion":"2026-08-30T23:17:21.991Z"}