Skip to content

Instantly share code, notes, and snippets.

@AungMyoKyaw
Last active December 3, 2025 14:09
Show Gist options
  • Select an option

  • Save AungMyoKyaw/dc1a3d468d79b21418c1a44c0534f728 to your computer and use it in GitHub Desktop.

Select an option

Save AungMyoKyaw/dc1a3d468d79b21418c1a44c0534f728 to your computer and use it in GitHub Desktop.
Useful CLI aliases for AI tools and package managers with bun

AI Tool Aliases (using bun for faster execution)

# Replace Node.js tools with bun
alias node='bun'
alias npm='bun'
alias npx='bunx'

# AI Coding Tools
alias qwen='bunx @qwen-code/qwen-code@preview -y'
alias claude='bunx @anthropic-ai/claude-code@next --dangerously-skip-permissions'
alias codex='bunx @openai/codex@latest'
alias gemini='bunx @google/gemini-cli@preview -y'
alias copilot='bunx @github/copilot@prerelease --allow-all-tools --allow-all-paths --banner'
alias openspec='bunx @fission-ai/openspec@latest'
alias opencode='bunx opencode-ai@dev'

Setup

Add these aliases to your shell config file (~/.zshrc, ~/.bashrc, etc.):

# Add to ~/.zshrc or ~/.bashrc
source ~/.zshrc  # or restart terminal

Usage

# Use any AI tool directly
claude "help me debug this code"
qwen "write a python function"
copilot "refactor this component"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment