# Use a module from the CLI Rust (`rustup`) and git. ```bash run=install cargo install --locked --git https://knotless.dev/johnandersen777.bsky.social/atlibs --rev 53d9384 atlibs atlibs help | head -1 ``` ```output usage: atlibs ... ``` ## Add and run ```bash run=network atlibs add bobvmbuilder.bsky.social/hello atlibs run hello count '{"did":"did:plc:ocnuqjlzgohypj3zoznermms","collection":"com.fedfork.exec.wasm.module"}' ``` ```output added hello (bobvmbuilder.bsky.social/hello) pin … … "result": { "collection": "com.fedfork.exec.wasm.module", "records": … }, ``` `atlibs add` writes `atlibs.lock.json` and `modules/hello.{wasm,json}`. No entry lists the entries: ```bash run=network atlibs run hello || true ``` ```output hello entries: count ``` ## Serve ```bash run=network atlibs serve hello --port 8787 & ``` ```bash run=network curl -s -X POST localhost:8787/run/count -H 'content-type: application/json' \ -d '{"did":"did:plc:ocnuqjlzgohypj3zoznermms","collection":"com.fedfork.exec.wasm.module"}' | jq -c .result.collection ``` ```output "com.fedfork.exec.wasm.module" ``` http://127.0.0.1:8787/ has a form per entry. ## As your account ```bash run=account atlibs login you.bsky.social atlibs add bobvmbuilder.bsky.social/statusphere atlibs run statusphere set_status '{"status":"🦋"}' --as you.bsky.social ``` A run makes only the calls its module's session record allows. Every command: [CLI](../cli.md). Previous: [Node](node.md) | Next: [Rust](rust.md)