install_nvm_node
"/home/yossef/notes/git/scripts/install_nvm_node.md"
path: git/scripts/install_nvm_node.md
- **fileName**: install_nvm_node
- **Created on**: 2025-03-26 14:58:49
so this sound worried why i do this because it's download the lastest version of node and some times it's causing problem to have old version in nvim
```bash #!/usr/bin/env bash_install() {
# check commedn if exists
if _commend_exists nvm; then
printf 'comment nvm is found'
exit 1
fi
# check commedn if exists
if _commend_exists node; then
printf 'comment node is found'
exit 1
fi
printf 'starting install nvm'
curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source ~/.zshrc
nvm install --lts
if [[ $? == 0 ]]; then
printf "sucess install for node and nvm"
else
printf "error happend in install"
fi
}
_install
**continue**:./install_php.md
**before**:./install_main_packages.md