Installing & Updating Requirements for Adapt
Adapt requires NodeJS and Git to be installed on your system. See below for installation information.
NodeJS with npm
You'll need to have NodeJS installed. Adapt requires at least NodeJS version 10.17 and is currently tested on NodeJS versions 12 (LTS), and 14 (LTS). Note that while NodeJS 10 may work, it is no longer tested, and bug fixes for older untested versions may not be fixed.
Note that the default version of NodeJS that is installed by your system's package manager (apt, yum, etc.) may be an older version of NodeJS.
To check your currently installed version of NodeJS:
node --version
For non-Windows users, if you need to install a different version of NodeJS, we recommend using nvm, which allows you to manage multiple versions of NodeJS.
For Windows users and other installation and updating options, take a look at the NodeJS documentation.
Install nvm
The nvm tool makes it easy to to install and manage one or multiple versions of NodeJS. This guide summarizes the steps to install nvm and NodeJS 14 for bash
users. For more detailed instructions on nvm, including usage with other shells, see the nvm README.
This installs nvm for only your user, not system-wide.
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
When nvm is installed, it adds its setup script to your .bashrc, which will take effect on your next login. To start using nvm immediately:
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
Set up NodeJS 14
nvm install 14
nvm use 14
NodeJS 14 should now be installed and activated as your current version of node. To verify:
node --version
You should see output similar to:
v14.15.1
Git
You'll also need to have Git installed.
Operating System | Installation Instructions |
---|---|
Linux | Instructions |
Mac | Instructions |
Windows | Instructions |
After installing, confirm that git
is available from your command line:
git --version
You should see output similar to:
git version 2.27.0