Skip to content

Common errors

Leo Codes edited this page Jul 24, 2025 · 4 revisions

Error: Required command '<cmd>' is not installed or not in PATH.

This error usually occurs when a command that the installer itself requires to work is not installed or not in PATH, to fix this try running:

For node:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash && export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && grep -qxF 'export NVM_DIR="$HOME/.nvm"' ~/.bashrc || cat <<'EOF' >> ~/.bashrc
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
EOF
nvm install 22 && nvm use 22

NOTE: this will install node version manager: https://github.com/nvm-sh/nvm

For git:

sudo apt-get update && sudo apt-get install git

For sudo:

There is a problem with your system

Clone this wiki locally