Environment:
- OS: Windows 11
- Node.js: v24.13.0
- npm: 11.6.2
- npx: 11.6.2
- @elevenlabs/cli: 0.3.4
Issue:
When running npx @elevenlabs/cli@latest components add orb, getting error:
"Error: npx is not available. Please install Node.js/npm."
Steps to Reproduce:
- Install Node.js and npm (verified with
node -v, npm -v, npx -v)
- Run:
npx @elevenlabs/cli@latest components add orb
- Error occurs despite npx being available
Expected Behavior:
Command should detect npx and proceed with installation
Actual Behavior:
CLI fails to detect npx in Windows PowerShell environment
Additional Context:
- PATH variables are correctly set
- npx works with other packages
- Issue persists even with global installation:
npm install -g @elevenlabs/cli