install directus 10
This commit is contained in:
parent
8ac382e801
commit
c3d1e87ccc
|
@ -187,8 +187,8 @@ if [[ "$answer" == "y" ]]; then
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" &&\
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" &&\
|
||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" &&\
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" &&\
|
||||||
nvm install v20' $username
|
nvm install v20' $username
|
||||||
ln -s /home/$username/.nvm/versions/node/v20.11.1/bin/node /usr/bin/node
|
ln -sf /home/$username/.nvm/versions/node/v20.11.1/bin/node /usr/bin/node
|
||||||
ln -s /home/$username/.nvm/versions/node/v20.11.1/bin/npm /usr/bin/npm
|
ln -sf /home/$username/.nvm/versions/node/v20.11.1/bin/npm /usr/bin/npm
|
||||||
echo -e "${PURPLE}${BOLD}Node installed${RESET}";
|
echo -e "${PURPLE}${BOLD}Node installed${RESET}";
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue