Skip to content

Instantly share code, notes, and snippets.

@bbarker
Created March 2, 2025 01:19
Show Gist options
  • Save bbarker/ab6acd6774b17ef14801cbdf4ea142e4 to your computer and use it in GitHub Desktop.
Save bbarker/ab6acd6774b17ef14801cbdf4ea142e4 to your computer and use it in GitHub Desktop.
deno-claude
#!/usr/bin/env bash
export GOOGLE_SDK_NODE_LOGGING=1
exec deno run --allow-read --allow-net --no-config \
--unstable-node-globals --unstable-bare-node-builtins \
--allow-sys --allow-env \
--allow-write="$HOME/.claude" \
--allow-read="$HOME/.cache/deno,$HOME/.claude,$(pwd)" \
--lock /home/bbarker/.deno/bin/.claude-code.lock.json \
'npm:@anthropic-ai/[email protected]' "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment