{"_id":"@aetherix-ops/ptero-cli","name":"@aetherix-ops/ptero-cli","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@aetherix-ops/ptero-cli","version":"1.0.0","description":"Command line tool for managing Pterodactyl Panel from your terminal","main":"bin/ptero.js","bin":{"ptero":"bin/ptero.js"},"scripts":{"start":"node bin/ptero.js"},"keywords":["pterodactyl","pterodactyl-cli","ptero","panel","cli","hosting","game-server"],"author":{"name":"aetherix-ops"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Aetherix-ops/ptero-cli.git"},"homepage":"https://github.com/Aetherix-ops/ptero-cli#readme","bugs":{"url":"https://github.com/Aetherix-ops/ptero-cli/issues"},"engines":{"node":">=18.0.0"},"dependencies":{"@aetherix-ops/ptero-api":"^1.0.0","commander":"^12.0.0"},"_id":"@aetherix-ops/ptero-cli@1.0.0","gitHead":"f53159da09afe69c03a296b4d7d98bae6f9f54cf","_nodeVersion":"22.22.3","_npmVersion":"10.9.8","dist":{"integrity":"sha512-mQ5YGQ8sG0xCA+niv5b/Fi7CS+C1bP8BGSfuwSYO1RmQAsVRURqQAnBOHgdZa97fgASH+1LRInQ2Zt+wkxoJ9Q==","shasum":"536df34346c8bab699b5c84ce8126a1219cfb3d3","tarball":"https://registry.npmjs.org/@aetherix-ops/ptero-cli/-/ptero-cli-1.0.0.tgz","fileCount":9,"unpackedSize":23283,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDBF5D7zUKshm/Resj2XdOUUbL+Zpv4Rf8NtxXr5roSVwIhAIWtv+9NiYK8IgBgLhQCmDcSdPSyz+D31rS/4i/tJ84b"}]},"_npmUser":{"name":"aetherix-ops","email":"devora.support@gmail.com"},"directories":{},"maintainers":[{"name":"aetherix-ops","email":"devora.support@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ptero-cli_1.0.0_1780836928097_0.3034591135108724"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-07T12:55:27.879Z","1.0.0":"2026-06-07T12:55:28.226Z","modified":"2026-06-07T12:55:28.396Z"},"maintainers":[{"name":"aetherix-ops","email":"devora.support@gmail.com"}],"description":"Command line tool for managing Pterodactyl Panel from your terminal","homepage":"https://github.com/Aetherix-ops/ptero-cli#readme","keywords":["pterodactyl","pterodactyl-cli","ptero","panel","cli","hosting","game-server"],"repository":{"type":"git","url":"git+https://github.com/Aetherix-ops/ptero-cli.git"},"author":{"name":"aetherix-ops"},"bugs":{"url":"https://github.com/Aetherix-ops/ptero-cli/issues"},"license":"MIT","readme":"# @aetherix-ops/ptero-cli\n\n<div align=\"center\">\n\n![npm](https://img.shields.io/npm/v/@aetherix-ops/ptero-cli?style=flat-square&color=00d2ff)\n![license](https://img.shields.io/npm/l/@aetherix-ops/ptero-cli?style=flat-square&color=green)\n![node](https://img.shields.io/node/v/@aetherix-ops/ptero-cli?style=flat-square&color=339933)\n\n**Command line tool for managing Pterodactyl Panel from your terminal.**\nBuilt on top of [@aetherix-ops/ptero-api](https://github.com/Aetherix-ops/ptero-api).\n\n</div>\n\n---\n\n## Installation\n\n    npm install -g @aetherix-ops/ptero-cli\n\n---\n\n## Setup\n\n    ptero config setup\n\nOr set environment variables:\n\n    export PTERO_URL=https://panel.yourdomain.com\n    export PTERO_CLIENT_KEY=your_client_api_key\n    export PTERO_APP_KEY=your_application_api_key\n\nConfig is saved to `~/.ptero/config.json`\n\n---\n\n## Commands\n\n### Server\n\n```bash\n# List all servers\nptero server list\nptero server ls\n\n# List with RAM/CPU stats\nptero server list --stats\n\n# Get server status and resources\nptero server status <id>\n\n# Power actions\nptero server start <id>\nptero server stop <id>\nptero server restart <id>\nptero server kill <id>\n\n# Send console command\nptero server cmd <id> \"say Hello!\"\n\n# Suspend / unsuspend (admin)\nptero server suspend <id>\nptero server unsuspend <id>\n```\n\n### User (Admin)\n\n```bash\n# List all users\nptero user list\n\n# Get user details\nptero user info <id>\n\n# Create user\nptero user create \\\n  --email user@example.com \\\n  --username newuser \\\n  --firstname John \\\n  --lastname Doe\n\n# Delete user\nptero user delete <id>\n```\n\n### Node (Admin)\n\n```bash\n# List all nodes\nptero node list\n\n# Get node details\nptero node info <id>\n```\n\n---\n\n## Output Example\n\n```\n──────────────────────────────────────────────────\n Servers\n──────────────────────────────────────────────────\n\nID          NAME                      NODE\nabc12345    TelisSMP                  node-1\ndef67890    Lunexia Bot               node-1\nghi11223    Dev API                   node-1\n\nTotal: 3 servers\n```\n\n```\n──────────────────────────────────────────────────\n Servers (with --stats)\n──────────────────────────────────────────────────\n\nID          NAME          STATUS       RAM        CPU     DISK\nabc12345    TelisSMP      ● running    2.1GB      28.4%   8.2GB\ndef67890    Lunexia Bot   ● running    512.0MB    12.1%   1.1GB\nghi11223    Dev API       ○ offline    -          -       -\n```\n\n---\n\n## Related\n\n- [ptero-api](https://github.com/Aetherix-ops/ptero-api) — The API library powering this CLI\n- [ptero-scripts](https://github.com/Aetherix-ops/ptero-scripts) — Shell scripts for Pterodactyl\n- [ptero-eggs](https://github.com/Aetherix-ops/ptero-eggs) — Updated egg collection\n\n---\n\n## License\n\nMIT — by [aetherix-ops](https://github.com/Aetherix-ops)\n","readmeFilename":"README.md","_rev":"1-2e9c81419513df640ce4d8a2bdee026e"}