Skip to content

Instantly share code, notes, and snippets.

@zzNuAzz
Last active November 19, 2021 10:09
Show Gist options
  • Save zzNuAzz/2d6ad65171da8ef35b4bbc9bd75f8167 to your computer and use it in GitHub Desktop.
Save zzNuAzz/2d6ad65171da8ef35b4bbc9bd75f8167 to your computer and use it in GitHub Desktop.

Ubuntu upgrade

sudo apt update
sudo apt upgrade

install oh-my-zsh

# install zsh
sudo apt-get install zsh -y
sudo curl -L http://install.ohmyz.sh | sh
chsh -s $(which zsh)

git clone git://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/agkozak/zsh-z ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-z
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

plugins=(git zsh-z zsh-syntax-highlighting zsh-autosuggestions)

install fzf

git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install

install npm n => mangage nodejs version

curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n
bash n lts
# Now node and npm are available
npm install -g n

usage

sudo n <node-version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment