istall git:
sudo apt install gitinstall curl:
sudo apt install curlinstall fish: link
sudo apt-add-repository ppa:fish-shell/release-3
sudo apt-get update
sudo apt-get install fishset fish as default shell: link
chsh -s `which fish`install oh-my-fish: link
curl -L https://get.oh-my.fish | fishinstall nodejs: link
# Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_15.x | sudo -E bash -
sudo apt-get install -y nodejsupdate default nodejs: link
install npm:
sudo apt install npminstall yarn: link
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install yarninstall nvm: link
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bashinstall npm global packages without sudo: link
install go: link
wget -c https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/localset go environment:
# ~/.bash_profile
# set the workspace path
export GOPATH=/media/foyez/CAD86EE7D86ED0ED/my-codes/golang
# add the go bin path to be able to execute our programs
export PATH=$PATH:$GOPATH/bin# ~/.config/fish/config.fish
# set the workspace path
set -x GOPATH /media/foyez/CAD86EE7D86ED0ED/my-codes/golang
# add the go bin path to be able to execute our programs
set -x PATH $PATH /usr/local/go/bin $GOPATH/bin- first of all, delete the drive from gparted
sudo update-grub
sudo grub-install /dev/sda
reboot> sudo apt-get purge [package]
> sudo apt-get autoclean
> sudo apt-get autoremove