{"id":13431306,"url":"https://github.com/wbyoung/avn","last_synced_at":"2025-09-28T21:31:20.909Z","repository":{"id":16660908,"uuid":"19416472","full_name":"wbyoung/avn","owner":"wbyoung","description":"Automatic Version Switching for Node","archived":true,"fork":false,"pushed_at":"2023-02-16T19:14:52.000Z","size":133,"stargazers_count":1140,"open_issues_count":32,"forks_count":54,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-01-15T01:55:08.237Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/wbyoung.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2014-05-04T01:50:24.000Z","updated_at":"2024-12-27T07:43:39.000Z","dependencies_parsed_at":"2022-07-12T15:14:24.334Z","dependency_job_id":"439bec0c-9b4e-44fa-8908-7ec8f6781cab","html_url":"https://github.com/wbyoung/avn","commit_stats":{"total_commits":154,"total_committers":10,"mean_commits":15.4,"dds":"0.10389610389610393","last_synced_commit":"5a130bac93450946d60ba851e9535d4620689822"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbyoung%2Favn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbyoung%2Favn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbyoung%2Favn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbyoung%2Favn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wbyoung","download_url":"https://codeload.github.com/wbyoung/avn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234563152,"owners_count":18853062,"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":[],"created_at":"2024-07-31T02:01:02.098Z","updated_at":"2025-09-28T21:31:20.598Z","avatar_url":"https://github.com/wbyoung.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Npm"],"sub_categories":[],"readme":"# avn\n\n[![NPM version][npm-image]][npm-url] [![Build status][travis-image]][travis-url] [![Code Climate][codeclimate-image]][codeclimate-url] [![Coverage Status][coverage-image]][coverage-url] [![Dependencies][david-image]][david-url] [![devDependencies][david-dev-image]][david-dev-url]\n\nAutomatic Version Switching for Node.js\n\n## Install\n\n``` bash\nnpm install -g avn avn-nvm avn-n\navn setup\n```\n\nNow when you `cd` into a directory with a `.node-version` file, `avn` will\nautomatically detect the change and use your installed version manager to\nswitch to that version of node. What goes in your `.node-version` file? A\n[semver][semver] version number corresponding to the version of Node.js that\nyour project uses.\n\n\n## Plugins\n\n`avn` supports the following version managers:\n\n - [`nvm`][nvm] via [`avn-nvm`][avn-nvm]\n - [`n`][n] via [`avn-n`][avn-n]\n - [`nodebrew`][nodebrew] via [`avn-nodebrew`][avn-nodebrew]\n\nWe don't recommend using all of these tools to manage your versions of node, but feel\nfree to install all of them. They won't conflict with each other.\n\n\n## io.js\n\nPlugins support a consistent syntax in the `.node-version` file for specifying\nthe use of [io.js][io.js] rather than node. Simply add an `iojs` prefix. For\ninstance: `iojs-1.4` or `iojs-v1.4`.\n\n\n## Todo List\n\n * Support switching back to the previous version of node that you were using\n   when you leave a directory.\n\nPull requests are welcome!\n\n\n## Troubleshooting\n\nIf you're having a problem, please `cd` to the directory where your\n`.node-version` file is stored and run (note the double-underscore prefix):\n\n```bash\n__avn_debug\n```\n\nThe [contributing page][contributing] has details about where to report your issue based on the version manager you use.\n\nAlso note that the `avn setup` command will only work with the version of node\nwith which you installed it. If you install and then switch your node version,\nyou'll get an error that `avn` can't be found. This is okay, but if you need to\nrun the setup command again, simply `npm install -g avn` to get a new copy for\nyour current node version.\n\n\n## Updating\n\nSimply reinstall via npm \u0026 re-run the setup:\n\n```bash\nnpm install -g avn avn-nvm avn-n\navn setup\n```\n\n## License\n\nThis project is distributed under the MIT license.\n\n\n[travis-image]: http://img.shields.io/travis/wbyoung/avn.svg?style=flat\n[travis-url]: http://travis-ci.org/wbyoung/avn\n[npm-image]: http://img.shields.io/npm/v/avn.svg?style=flat\n[npm-url]: https://npmjs.org/package/avn\n[codeclimate-image]: http://img.shields.io/codeclimate/github/wbyoung/avn.svg?style=flat\n[codeclimate-url]: https://codeclimate.com/github/wbyoung/avn\n[coverage-image]: http://img.shields.io/coveralls/wbyoung/avn.svg?style=flat\n[coverage-url]: https://coveralls.io/r/wbyoung/avn\n[david-image]: http://img.shields.io/david/wbyoung/avn.svg?style=flat\n[david-url]: https://david-dm.org/wbyoung/avn\n[david-dev-image]: http://img.shields.io/david/dev/wbyoung/avn.svg?style=flat\n[david-dev-url]: https://david-dm.org/wbyoung/avn#info=devDependencies\n\n[contributing]: https://github.com/wbyoung/avn/blob/master/CONTRIBUTING.md\n[nvm]: https://github.com/creationix/nvm\n[n]: https://github.com/visionmedia/n\n[nodebrew]: https://github.com/hokaccha/nodebrew\n[avn-nvm]: https://github.com/wbyoung/avn-nvm\n[avn-n]: https://github.com/wbyoung/avn-n\n[avn-nodebrew]: https://github.com/kuy/avn-nodebrew\n[io.js]: https://iojs.org/\n[semver]: http://semver.org/\n\n## Uninstall \n```bash\nnpm rm -g avn; rm -r ~/.avn\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwbyoung%2Favn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwbyoung%2Favn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwbyoung%2Favn/lists"}