{"id":17749564,"url":"https://github.com/oresoftware/npm.version","last_synced_at":"2026-04-05T22:01:32.924Z","repository":{"id":95712767,"uuid":"138114035","full_name":"ORESoftware/npm.version","owner":"ORESoftware","description":"Change NPM versions, just like changing Node versions with NVM.","archived":false,"fork":false,"pushed_at":"2018-06-24T08:11:28.000Z","size":37,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-18T16:54:45.304Z","etag":null,"topics":["bash","nodejs","npm","nvm","shell-script","shellscript"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/ORESoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2018-06-21T03:20:36.000Z","updated_at":"2018-10-25T05:39:07.000Z","dependencies_parsed_at":"2023-05-21T16:00:10.956Z","dependency_job_id":null,"html_url":"https://github.com/ORESoftware/npm.version","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ORESoftware/npm.version","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Fnpm.version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Fnpm.version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Fnpm.version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Fnpm.version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ORESoftware","download_url":"https://codeload.github.com/ORESoftware/npm.version/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Fnpm.version/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31451446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["bash","nodejs","npm","nvm","shell-script","shellscript"],"created_at":"2024-10-26T11:23:47.089Z","updated_at":"2026-04-05T22:01:32.333Z","avatar_url":"https://github.com/ORESoftware.png","language":"Shell","readme":"\n# @oresoftware/npv\n\n\u003e\n\u003e Change NPM versions, just like changing Node versions with NVM\n\u003e\n\n\u003cbr\u003e\n\n***Caveat/Disclaimer***\n\nNot all NPM versions are compatible with all Node versions.\nMany NPM versions are not compatible with older or newer Node versions.\n\n\u003cbr\u003e\n\n# Installation\n\n```bash\n$ npm i -g '@oresoftware/npv'\n```\n\n\u003cbr\u003e\n\n## Usage\n\n\u003ci\u003e__Add a new NPM version__\u003c/i\u003e\n\n```bash\n$ npv use 6\n```\n\nThe above will look to see if any local versions match 6* \u003cbr\u003e\nIf no local versions match, then it will go to NPM to get the latest version that starts with 6. \u003cbr\u003e\n\nIf you use the `--latest` flag:\n\n```bash\n$ npv use 6 --latest\n```\n\nthen you will always get the latest version from NPM that starts with 6.\n\n\u003cbr\u003e\n\n\u003ci\u003e__List all existing versions__\u003c/i\u003e\n\n```bash\n$ npv ls\n```\n\n\u003cbr\u003e\n\n\u003ci\u003e__Remove matching versions__\u003c/i\u003e\n\n```bash\n$ npv rm 6*\n```\n\nThe above will remove all versions that start with 6.\n\n\u003cbr\u003e\n\n\u003ci\u003e__Remove all versions__\u003c/i\u003e\n\n```bash\n$ npv remove-all\n```\n\nThe above will remove all versions. NPM will then be \u003cbr\u003e\nreplaced with the latest version: `npm install -g npm@latest`\n\n\u003cbr\u003e\n\n### Alias for the executable\n\nNote that if npv / npmv executables already exists on your system, you can use this same\npackage with a different name/executable:\n\n```bash\n$ npm i -g '@oresoftware/kk5'\n```\n\n'kk5' is completely random - I just chose it because it was easy to type lol.\nMost people will probably prefer using npv / npmv.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foresoftware%2Fnpm.version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foresoftware%2Fnpm.version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foresoftware%2Fnpm.version/lists"}