Skip to content

Latest commit

 

History

History
99 lines (71 loc) · 1.78 KB

tools.md

File metadata and controls

99 lines (71 loc) · 1.78 KB

Ubuntu 20.04

Table of Content

$ sudo add-apt-repository ppa:git-core/ppa

$ sudo apt update

$ sudo apt install git

Node.js

$ wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
$ nvm install 12.18.0
$ curl -fsSL https://deno.land/x/install/install.sh | sh

Deno was installed successfully to $HOME/.deno/bin/deno
Manually add the directory to your $HOME/.bashrc (or similar)
  export DENO_INSTALL="$HOME/.deno"
  export PATH="$DENO_INSTALL/bin:$PATH"
$ sudo snap install postman

# remove
# $ sudo snap remove postman

Visual Studio Code

Installation

$ sudo snap install code --classic

Setting

$ git config --global core.editor "code --wait"

$ git config --global -e

.gitconfig

[core]
	editor = code --wait
[user]
	email = [email protected]
	name = junlico
[alias]
	br = branch
	ci = commit
	co = checkout
	st = status
	last = log -1 HEAD
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
$ sudo apt-get update
$ sudo apt-get install docker-ce docker-ce-cli containerd.io

# uninstall
$ sudo apt-get purge docker-ce docker-ce-cli containerd.io
$ sudo rm -rf /var/lib/docker