Windows service installation for a CLI/Telegram AI agent, specifically `mercury up/service install` command failures due to pathing issues with `schtasks` and `node.exe`.
Raw Developer Origin & Technical Request
GitHub Issue
Apr 26, 2026
mercury up/service install commands cannot install the service in Windows, failing with the following error message:
```
PS C:\Windows\System32> mercury up
Installing Mercury as a system service...
Error: Argumento u opción no válido - "Files\nodejs\node.exe C:\Users\chris\AppData\Roaming\npm\node_modules\@cosmicstack\mercury-agent\lib\node_modules\@cosmicstack\mercury-agent\dist\index.js start --daemon".
Escriba "SCHTASKS /CREATE /?" para su uso.
schtasks create failed. Try running from an Administrator cmd:
schtasks /create /tn "MercuryAgent" /tr ""C:\Program Files\nodejs\node.exe" "C:\Users\chris\AppData\Roaming\npm\node_modules\@cosmicstack\mercury-agent\lib\node_modules\@cosmicstack\mercury-agent\dist\index.js" start --daemon" /sc onlogon /rl limited /f
Error: El sistema no puede encontrar el archivo especificado.
Task created but failed to start immediately. It will start on next login.
Mercury service installed (Windows Task Scheduler)
Task: MercuryAgent
Trigger: on logon
Logs: C:\Users\chris\.mercury\daemon.log
Auto-starts on login. Use --daemon flag for crash recovery.
Uninstall: mercury service uninstall
Mercury started in background (PID: 18508)
```
It says that the service was installed, but it was not. Tried with PowerShell and CMD, both with and without admin access.
Developer Debate & Comments
No active discussions extracted for this entry yet.
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from cosmicstack-labs/mercury-agent.
Frequently Asked Questions
Market intelligence mapped to Windows service installation for a CLI/Telegram AI agent, specifically `mercury up/service install` command failures due to pathing issues with `schtasks` and `node.exe`..
How is Windows service installation for a CLI/Telegram AI agent, specifically `mercury up/service install` command failures due to pathing issues with `schtasks` and `node.exe`. positioned in the market?
What architecture is tied to Windows service installation for a CLI/Telegram AI agent, specifically `mercury up/service install` command failures due to pathing issues with `schtasks` and `node.exe`.?
Engagement Signals
Cross-Market Term Frequency
Quantifies the cross-market adoption of foundational terms like daemon and PowerShell by tracking occurrence frequency across active SaaS architectures and enterprise developer debates.
SaaS Metrics