Giter Site home page Giter Site logo

node-venv's Introduction

Node-Venv - Simplify Node.js Environment Management

Overview

Node-Venv is an npm package designed to streamline Node.js environment management on Linux-based systems. With Node-Venv, you can effortlessly set the desired Node.js version for your projects using NVM (Node Version Manager) automatically. No more manual interventions or repetitive 'nvm use' commands. Node-Venv simplifies your Node.js development workflow, making it more convenient and efficient.

Installation

To get started with Node-Venv, you need to install it globally on your system. Open your terminal and run the following command:

npm install -g node-venv

Usage

Node-Venv provides two main commands to help you manage your Node.js environment: set and activate.

1. Setting Node.js Version

Use the set command to specify the Node.js version you want for your project. This will create or update a .nvmrc file in the current directory with your desired semantic version. To set the required Node.js version, run the following command:

node-venv set <semantic_version>

Replace <semantic_version> with the specific version you need, such as "14.17.6" or "16.9.0."

2. Activating Node-Venv

After you've set your Node.js version with the set command, you can activate Node-Venv to ensure that the specified version is used in your terminal session without manually running 'nvm use' each time.

To activate Node-Venv, run the following command:

node-venv activate

This command will update your .bashrc (or equivalent) file to use the Node.js version you previously set or the default version, making it convenient to work with the appropriate Node.js environment.

Uninstallation

If you ever wish to uninstall Node-Venv, you can use the following command:

npm uninstall -g node-venv

Troubleshooting

If you encounter any issues or have questions regarding Node-Venv, please check the FAQ or reach out at [email protected].

Contributing

We welcome contributions from the community. If you want to help improve Node-Venv, please visit our GitHub repository and submit a pull request.

License

Node-Venv is open-source software released under the MIT License. You are encouraged to use, modify, and distribute it in accordance with the terms of the license.


Simplify your Node.js development process with Node-Venv. Say goodbye to manual Node.js version management and enjoy a more efficient workflow. Happy coding!

node-venv's People

Contributors

alagararun avatar svijaykoushik avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.