forked from axiom-team/astroport
check npm with node for nvm
This commit is contained in:
parent
565f3024c1
commit
9b74522e21
|
@ -96,7 +96,7 @@ fi
|
||||||
if [[ ! $(which oasis) ]]; then
|
if [[ ! $(which oasis) ]]; then
|
||||||
echo "INSTALL...."
|
echo "INSTALL...."
|
||||||
# Install nvm
|
# Install nvm
|
||||||
if [[ ! $(which node) ]]; then
|
if [[ ! $(which node) || ! $(which npm) ]]; then
|
||||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
|
Loading…
Reference in New Issue