{"id":24711173,"url":"https://github.com/victor1890/node-venv","last_synced_at":"2026-05-15T23:32:11.265Z","repository":{"id":274369863,"uuid":"922641896","full_name":"Victor1890/node-venv","owner":"Victor1890","description":"Node.js Virtual Environment Tool","archived":false,"fork":false,"pushed_at":"2025-01-26T21:44:34.000Z","size":43,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-03-22T06:43:52.918Z","etag":null,"topics":["bunjs","cli","env","nodejs","typescript","version-manager","virtual-env","virtual-environment","yargs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Victor1890.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-26T18:30:46.000Z","updated_at":"2025-02-04T13:46:30.000Z","dependencies_parsed_at":"2025-01-26T22:34:25.741Z","dependency_job_id":null,"html_url":"https://github.com/Victor1890/node-venv","commit_stats":null,"previous_names":["victor1890/node-venv"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Victor1890%2Fnode-venv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Victor1890%2Fnode-venv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Victor1890%2Fnode-venv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Victor1890%2Fnode-venv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Victor1890","download_url":"https://codeload.github.com/Victor1890/node-venv/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244918589,"owners_count":20531686,"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":["bunjs","cli","env","nodejs","typescript","version-manager","virtual-env","virtual-environment","yargs"],"created_at":"2025-01-27T07:14:03.939Z","updated_at":"2026-05-15T23:32:11.191Z","avatar_url":"https://github.com/Victor1890.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node.js Virtual Environment Tool\n\nThis tool helps you manage Node.js versions using `nvm` (Node Version Manager). It allows you to install, switch, and automatically manage Node.js versions based on a `.nvmrc` file.\n\n## Description\n\nManaging multiple Node.js versions can be challenging, especially when working on different projects that require different versions. This tool simplifies the process by leveraging `nvm` to create isolated Node.js environments. With this tool, you can easily install specific Node.js versions, switch between them, and automatically use the version specified in a `.nvmrc` file.\n\n## Summary\n\n- **Install Node.js versions**: Easily install specific Node.js versions using `nvm`.\n- **Switch Node.js versions**: Switch between different Node.js versions and update the `.nvmrc` file.\n- **Automatic management**: Automatically install and use the Node.js version specified in the `.nvmrc` file.\n- **Cross-platform**: Supports Windows, Linux, and macOS.\n\n## Installation\n\n1. Clone the repository:\n    ```sh\n    git clone https://github.com/Victor1890/node-venv.git\n    cd node-env\n    ```\n\n2. Install dependencies using `pnpm`:\n    ```sh\n    pnpm install\n    ```\n\n    If you don't have `pnpm` installed, you can install it using `npm`:\n    ```sh\n    npm install -g pnpm\n    ```\n\n3. Make sure `nvm` is installed on your system. You can follow the instructions below for your operating system:\n\n### Windows\n\n1. Download the `nvm-setup.exe` from the [nvm-windows releases page](https://github.com/coreybutler/nvm-windows/releases).\n2. Run `nvm-setup.exe`.\n3. Follow the installation instructions.\n\n### Linux and macOS\n\n1. Open your terminal.\n2. Run the following command to install `nvm`:\n    ```sh\n    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash\n    ```\n3. Add the following lines to your profile (`~/.bashrc`, `~/.zshrc`, `~/.profile`, or `~/.bash_profile`):\n    ```sh\n    export NVM_DIR=\"$([ -z \"${XDG_CONFIG_HOME-}\" ] \u0026\u0026 printf %s \"${HOME}/.nvm\" || printf %s \"${XDG_CONFIG_HOME}/nvm\")\"\n    [ -s \"$NVM_DIR/nvm.sh\" ] \u0026\u0026 \\. \"$NVM_DIR/nvm.sh\" # This loads nvm\n    ```\n4. Restart your terminal or run the following command to apply the changes:\n    ```sh\n    source ~/.bashrc\n    ```\n\nFor more details, visit the [official nvm GitHub page](https://github.com/nvm-sh/nvm).\n\n## Usage\n\nYou can use the tool with the following commands:\n\n### Install a Specific Node.js Version\n\nTo install a specific Node.js version using `nvm`, run:\n```sh\nnode-env install \u003cnodeVersion\u003e\n```\nExample:\n```sh\nnode-env install 14.17.0\n```\n\n### Switch to a Specific Node.js Version\n\nTo switch to a specific Node.js version and update the `.nvmrc` file, run:\n```sh\nnode-env use \u003cnodeVersion\u003e\n```\nExample:\n```sh\nnode-env use 16.13.0\n```\n\n### Automatically Manage Node.js Version\n\nTo automatically install and use the Node.js version specified in the `.nvmrc` file, run:\n```sh\nnode-env auto\n```\n\n## Configuration\n\nYou can configure the application name by setting the `APP_NAME` environment variable. The default value is `node-venv`.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictor1890%2Fnode-venv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictor1890%2Fnode-venv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictor1890%2Fnode-venv/lists"}