Skip to content

Instantly share code, notes, and snippets.

@peteristhegreat
Last active October 3, 2022 18:59
Show Gist options
  • Save peteristhegreat/067e7eb741753789c0de8e81c5112599 to your computer and use it in GitHub Desktop.
Save peteristhegreat/067e7eb741753789c0de8e81c5112599 to your computer and use it in GitHub Desktop.
Setup Debian-based Linux Box Script.md

Introduction

First couple of steps to get a new ubuntu box usable.

apt

sudo apt update
sudo apt upgrade
sudo apt install tldr vim plocate net-utils
tldr -u

node, nvm

https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
type nvm
nvm install --lts
nvm use --lts
npm install -g yarn

dotfiles

git clone https://github.com/mathiasbynens/dotfiles.git && cd dotfiles && source bootstrap.sh

git

sudo add-apt-repository ppa:git-core/ppa -y
sudo apt upgrade -y
git config --global user.name "YOUR NAME"
git config --global user.email "YOUR EMAIL"
git config --global alias.ls '!f() { git log $1 --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cgreen\\ [%ae,%ar]" --decorate --graph; }; f'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment