This file contains hidden or 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
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash | |
source ~/.bashrc | |
nvm list-remote | |
nvm install v18.12.1 | |
nvm install lts/hydrogen | |
nvm use v18.12.1 |
This file contains hidden or 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 | |
#how to use | |
# cd ~ && mkdir gobuildscript && cd gobuildscript && https://gist.github.com/Danendra10/2910ae7a55e066aa03fec7c967e00b71 && chmod +x gobuild.sh && echo "alias gobuild="~/gobuildscript/gpbuild.sh" >> ~/.bashrc && source ~/.bashrc | |
output_name="main" | |
os="linux" | |
# Define colors | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' |