Last active
October 13, 2021 20:26
-
-
Save dantldev/9fa0f36def802158e984c0dddb1ab284 to your computer and use it in GitHub Desktop.
A bash script to install stuffs on linux ( Ubuntu )
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
# some stuffs | |
sudo apt install -y zsh curl build-essential tmux zip unrar g++ as31 nasm ruby ruby-bundler ruby-dev clang-9 lldb valgrind sqlite3 cmake python3-pip && | |
# install node 16.x | |
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - | |
sudo apt-get install -y nodejs | |
# config npm without sudo | |
mkdir -p ~/.npm-global | |
npm config set prefix ~/.npm-global | |
echo "PATH=~/.npm-global/bin:$PATH" >> ~/.bashrc | |
source ~/.bashrc | |
# install global npm stuffs | |
npm i -g serve zx yarn | |
# install oh-my-zsh | |
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | yes | |
echo "PATH=~/.npm-global/bin:$PATH" >> ~/.zshrc | |
source ~/.zshrc | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment