Welcome to the Scoop & NVM Developer Guide! This repository offers a complete guide for modern package management and Node.js version control on Windows using Scoop and NVM. You can find the latest releases here.
- Introduction
- Prerequisites
- Installation
- Using Scoop
- Using NVM
- Best Practices
- Troubleshooting
- Contributing
- License
- Contact
Managing packages and versions can be a challenge, especially on Windows. This guide simplifies the process using Scoop and NVM.
Scoop is a command-line installer for Windows, making it easy to install and manage software. NVM (Node Version Manager) allows you to switch between different versions of Node.js effortlessly.
Before you begin, ensure you have the following:
- Windows 10 or later
- PowerShell 5.1 or later
- Basic understanding of command-line usage
-
Open PowerShell as Administrator.
-
Run the following command:
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
-
Verify the installation by running:
scoop --version
-
Download the NVM installer from the NVM for Windows Releases.
-
Run the installer and follow the instructions.
-
After installation, verify it by running:
nvm --version
To install a package, use the following command:
scoop install <package-name>
For example, to install Git:
scoop install git
To update all installed packages, run:
scoop update *
To uninstall a package, use:
scoop uninstall <package-name>
To install a specific version of Node.js, use:
nvm install <version>
For example, to install Node.js version 14.17.0:
nvm install 14.17.0
To switch to a different version, run:
nvm use <version>
To see all installed versions of Node.js, use:
nvm list
-
Keep Packages Updated: Regularly update your packages using
scoop update *
to ensure you have the latest features and security patches. -
Use Version Control: Always use NVM to manage your Node.js versions, especially when working on multiple projects that require different Node.js versions.
-
Documentation: Keep a record of your installed packages and Node.js versions. This will help in troubleshooting and when setting up new environments.
-
Backup Configurations: Regularly back up your Scoop and NVM configurations. This can save time if you need to reinstall or migrate your setup.
-
Scoop Not Recognized: Ensure that the Scoop installation directory is in your system PATH.
-
Package Not Found: Check if the package exists in the Scoop bucket you are using. You can add more buckets with:
scoop bucket add <bucket-name>
- Node Version Not Switching: Ensure you have installed the version you are trying to switch to. Use
nvm list
to verify. - Permissions Errors: Run PowerShell as Administrator to avoid permission issues.
We welcome contributions! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or fix.
- Make your changes and commit them.
- Push your branch and create a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or feedback, feel free to reach out:
Explore the latest releases and updates here. Download and execute the necessary files to get started with your development environment today!
Thank you for checking out the Scoop & NVM Developer Guide! Happy coding!