{"id":25368606,"url":"https://github.com/nick-gabe/nvm-switcher","last_synced_at":"2025-07-01T12:36:47.247Z","repository":{"id":215562832,"uuid":"737439298","full_name":"Nick-Gabe/nvm-switcher","owner":"Nick-Gabe","description":"Automatically switch node versions based on package.json recommended engine.","archived":false,"fork":false,"pushed_at":"2024-01-30T03:39:04.000Z","size":3,"stargazers_count":36,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T18:54:08.008Z","etag":null,"topics":["node","nvm"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nick-Gabe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-12-31T03:16:19.000Z","updated_at":"2024-03-04T14:08:31.000Z","dependencies_parsed_at":"2024-01-07T17:31:43.200Z","dependency_job_id":null,"html_url":"https://github.com/Nick-Gabe/nvm-switcher","commit_stats":null,"previous_names":["nick-gabe/nvm-switcher"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nick-Gabe/nvm-switcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nick-Gabe%2Fnvm-switcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nick-Gabe%2Fnvm-switcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nick-Gabe%2Fnvm-switcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nick-Gabe%2Fnvm-switcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nick-Gabe","download_url":"https://codeload.github.com/Nick-Gabe/nvm-switcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nick-Gabe%2Fnvm-switcher/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262963779,"owners_count":23391887,"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":["node","nvm"],"created_at":"2025-02-15T00:39:32.251Z","updated_at":"2025-07-01T12:36:47.202Z","avatar_url":"https://github.com/Nick-Gabe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ↬ Node nvm-switcher\n\nAutomatically switch node versions through nvm based on package.json recommended engine version.\n\n## How to install\n\n- First of all, make sure you have `NVM` installed:\n  - Windows: [nvm-windows repo](https://github.com/coreybutler/nvm-windows)\n  - Linux/Mac: [nvm repo](https://github.com/nvm-sh/nvm)\n- Clone this repository into any folder you'd like:\n  - `git clone https://github.com/Nick-Gabe/nvm-switcher.git`\n- Install the code in your shell:\n  - Check what is the configuration file of your shell, for example `.zshrc`, `.bashrc`, `$profile`...\n  - Add the following line to the end of it: `nvm use $(node \u003cdirectory\u003e/nvm-switcher)`\n  - Replace `\u003cdirectory\u003e` by the directory the repository is in.\n\nAfter all those steps, once you open a shell, it will automatically execute the `nvm-switcher` command and find the optimal version for you.\n\n### Want to contribute?\n\n- Fork the repo [here](https://github.com/Nick-Gabe/nvm-switcher/fork)\n- Clone it:\n\n```shell\ngit clone https://github.com/\u003cuser\u003e/nvm-switcher.git\n# replace \u003cuser\u003e with your username\n```\n\n- Do the changes and updates, push them to your repository\n- Create a Pull Request [here](https://github.com/Nick-Gabe/nvm-switcher/compare)!\n\n## Why make the code in Javascript?\n\nSince we're talking about node versions, you should already have node in your system,\ntherefore using `javascript` provides a more understandable code and easier API than\n`bash` for example.\n\nBut this might change at some point, due to `javascript` not being the most optimal\nlanguage in terms of speed for this kind of operation which requires running terminal commands.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnick-gabe%2Fnvm-switcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnick-gabe%2Fnvm-switcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnick-gabe%2Fnvm-switcher/lists"}