Created
January 30, 2023 16:37
-
-
Save bukowa/6d5579e20923cde24c1826cdf6e073e1 to your computer and use it in GitHub Desktop.
download node
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getnode: | |
mkdir venvnode || true && wget -c https://nodejs.org/dist/v18.13.0/node-v18.13.0-linux-x64.tar.xz -O - | tar --strip-components=1 -xJ -C venvnode | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# script to setup the virtual environment | |
# usage: source setup.sh | |
# add node to the path | |
export PATH="$PATH:$(pwd)/venvnode/bin:$(pwd)/node_modules/.bin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment