diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c8f72d2b22b6a..ddb5662023a91 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -547,6 +547,11 @@ We recommend using [nvm](https://github.com/nvm-sh/nvm) to manage your node envi ```bash curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash +incase it shows '-bash: nvm: command not found' +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion + cd superset-frontend nvm install --lts nvm use --lts