{"id":48670672,"url":"https://github.com/appium/node-devicectl","last_synced_at":"2026-04-10T12:09:16.248Z","repository":{"id":320278299,"uuid":"1081196244","full_name":"appium/node-devicectl","owner":"appium","description":"Node.js wrapper around Xcode's devicectl tool","archived":false,"fork":false,"pushed_at":"2026-03-20T20:24:13.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-21T01:14:13.567Z","etag":null,"topics":["appium","automation","devicectl","ios"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appium.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"open_collective":"appium"}},"created_at":"2025-10-22T12:52:03.000Z","updated_at":"2026-03-20T20:24:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"3ab38c74-6cf9-44a7-a16d-8b029c907063","html_url":"https://github.com/appium/node-devicectl","commit_stats":null,"previous_names":["appium/node-devicectl"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/appium/node-devicectl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appium%2Fnode-devicectl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appium%2Fnode-devicectl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appium%2Fnode-devicectl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appium%2Fnode-devicectl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appium","download_url":"https://codeload.github.com/appium/node-devicectl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appium%2Fnode-devicectl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31641540,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appium","automation","devicectl","ios"],"created_at":"2026-04-10T12:09:13.791Z","updated_at":"2026-04-10T12:09:16.242Z","avatar_url":"https://github.com/appium.png","language":"TypeScript","funding_links":["https://opencollective.com/appium"],"categories":[],"sub_categories":[],"readme":"# node-devicectl\n\nNode.js wrapper around Apple's `devicectl` tool, the command-line utility to control iOS devices. `devicectl` is run as a sub-command of xcrun and requires Xcode 15+ and iOS 17+.\n\n## Installation\n\nInstall through npm.\n\n```bash\nnpm install node-devicectl\n```\n\n## API\n\nThe module exports a single class `Devicectl`. This class contains methods which wrap various devicectl subcommands.\n\n### Advanced Usage\n\nAny devicectl subcommand could be called via `execute` method,\nwhich accepts the subcommand itself as the first argument and the set of options. For example:\n\n```typescript\nimport { Devicectl } from 'node-devicectl';\n\nconst devicectl = new Devicectl('device-udid');\nconst processes = await devicectl.listProcesses();\nawait devicectl.launchApp('com.example.app', {\n  env: { DEBUG: '1' },\n  terminateExisting: true\n});\n```\n\nWhen Node is running under `sudo`, `node-devicectl` runs `xcrun devicectl` as the original\nnon-root user by default (`SUDO_UID`/`SUDO_GID`) to avoid CoreDevice provider lookup errors.\n\nYou can disable this globally via constructor options:\n\n```typescript\nconst devicectl = new Devicectl('device-udid', {\n  preferNonRootWhenSudo: false,\n});\n```\n\nOr override for a single command:\n\n```typescript\nawait devicectl.execute(['device', 'info'], {\n  runAsNonRootWhenSudo: false,\n});\n```\n\n## Requirements\n\n- Xcode 15+\n- iOS 17+\n- Node.js 20.19.0+ || 22.12.0+ || 24.0.0+\n\n## License\n\nApache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappium%2Fnode-devicectl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappium%2Fnode-devicectl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappium%2Fnode-devicectl/lists"}