{"id":24617721,"url":"https://github.com/jacoblincool/node-regctl","last_synced_at":"2026-04-07T23:31:12.732Z","repository":{"id":51912481,"uuid":"520655576","full_name":"JacobLinCool/node-regctl","owner":"JacobLinCool","description":"Easily install regctl on macOS, linux, and Windows.","archived":false,"fork":false,"pushed_at":"2023-12-15T17:52:03.000Z","size":80,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-25T16:16:39.035Z","etag":null,"topics":["cli","linux","macos","nodejs","regctl","windows"],"latest_commit_sha":null,"homepage":"https://jacoblincool.github.io/node-regctl","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JacobLinCool.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2022-08-02T21:33:20.000Z","updated_at":"2022-08-02T21:47:00.000Z","dependencies_parsed_at":"2023-12-15T18:47:35.288Z","dependency_job_id":"7b05c005-6ecc-4c5d-a746-23b0b191851f","html_url":"https://github.com/JacobLinCool/node-regctl","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"825de5da460b8d0debc9f9e773cc493eb5ca2275"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JacobLinCool%2Fnode-regctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JacobLinCool%2Fnode-regctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JacobLinCool%2Fnode-regctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JacobLinCool%2Fnode-regctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JacobLinCool","download_url":"https://codeload.github.com/JacobLinCool/node-regctl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244308683,"owners_count":20432250,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cli","linux","macos","nodejs","regctl","windows"],"created_at":"2025-01-24T23:40:12.738Z","updated_at":"2025-12-31T00:13:11.348Z","avatar_url":"https://github.com/JacobLinCool.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-regctl\n\nEasily install regctl on macOS, linux, and Windows.\n\nJust run one of:\n\n- `pnpm i -g regctl`\n- `npm i -g regctl`\n- `yarn global add regctl`\n\n\u003e Notice: The version of this package is not related to the version of `regctl` binary.\n\u003e This package always tries to use the latest version of `regctl` binary, but you can install a specific version of `regctl` by using `regctl bin install [version]`.\n\n## Usage\n\nYou can find the usage of `regctl` here: \u003chttps://github.com/regclient/regclient/blob/main/docs/regctl.md\u003e\n\nOr just try:\n\n```sh\nregctl --help\n```\n\n### Extra: `bin` subcommand\n\nThere is an extra subcommand: `regctl bin`. You can use it to manage the regctl binary version.\n\n```sh\n❯ regctl bin --help\nregctl bin                    : Prints the path to the binary\nregctl bin remove             : Removes the binary\nregctl bin install [version]  : Installs the binary\nregctl bin help               : Prints this help message\nExamples:\nregctl bin install            : Installs the latest version of regctl\nregctl bin install v0.4.4     : Installs regctl v0.4.4\nYou can find releases at https://github.com/regclient/regclient/releases\n```\n\n## Library Usage\n\n### Binary Path \u0026 Install\n\n```js\nimport { bin, install } from \"regctl\";\nimport fs from \"node:fs\";\nimport { spawn } from \"node:child_process\";\nif (!fs.existsSync(bin)) {\n    // install regctl binary\n    await install(bin);\n}\n// run regctl\nspawn(bin, [\"version\"], { stdio: \"inherit\" });\n```\n\n- `bin`: The path of the binary.\n- `install`: A function that installs the binary to the given path.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacoblincool%2Fnode-regctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacoblincool%2Fnode-regctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacoblincool%2Fnode-regctl/lists"}