lloyAlloy on GitHub
alloy self
Docs

alloy self

Updated

Manages the installed binaries, alloy and alloy-lsp, in ~/.alloy/bin. --dir picks another folder.

Shell
alloy self install             # copy the binaries to ~/.alloy/bin; what is missing comes from the release
alloy self update              # fetch the latest release and install it
alloy self update --version v  # fetch that release
alloy self uninstall           # remove the binaries
alloy self code                # write ~/.alloy/alloy.schema.json and point VS Code and Zed at it
alloy self code --dry-run      # print those edits, write nothing
alloy self schema              # print the JSON Schema of alloy.toml