Don't have NodeJS/NPM installed in your system?
Don't have NodeJS/NPM installed in your system?
We recommend installing NodeJS/NPM using NVM (Node Version Manager) which works for POSIX-compliant shells (sh, dash, ksh, zsh, bash on these platforms: unix, macOS, and windows WSL)Open your terminal and run the command below to install NVM (Node Version Manager) to your system.Restart terminal and install NodeJS by runningCheck that NodeJS is installed by runningRunning the command above should output something like
Alternatively, you can install NodeJS/NPM via your preferred package manager.
20.8.0
which means you’ve succesfully installed NodeJS/NPM Alternatively, you can install NodeJS/NPM via your preferred package manager.
If you get an
npm ERR! code EACCES
error while installing the Lightdash CLI, follow this guide to resolve it.Updating the Lightdash CLI
Update to the latest version
To update your Lightdash CLI to the latest version, run:Update to a specific version
To update (or downgrade) to a specific version of the Lightdash CLI, run:VERSION_NUMBER
with the desired version. For example:
You can check your current CLI version by running
lightdash --version
.