mirror of
https://github.com/BradNut/computer-setup-info
synced 2025-09-08 17:40:23 +00:00
3.6 KiB
3.6 KiB
Coding Environment Setup
Packages
- Git:
sudo apt install git - Curl:
sudo apt install curl - Docker: Ubuntu Install
- Gatsby CLI:
sudo npm install gatsby-cli -g - Heroku CLI:
sudo snap install --classic heroku - Sanity CLI:
sudo npm install @sanity/cli -g
Useful System Packages
- Neofetch
sudo apt install neofetch
- TLDR Man Pages
- Trash-CLI
Linux Brew
- Install:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" - Run for Debian or Ubuntu:
sudo apt-get install build-essential curl file git
Adding Homebrew to your PATH and bash shell (If applicable)
test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)- If using bash:
test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
List of installed casks
NOTE: ZSH and plugins for Ubuntu should be manually installed and not from brew
- nodeJS:
brew install node - postresql:
brew install postgresql - sshpass:
brew install hudochenkov/sshpass/sshpass - tmux:
brew install tmux - zsh:
brew install zsh - zsh-autosuggestions:
brew install zsh-autosuggestions - zsh-syntax-highlighting:
brew install zsh-syntax-highlighting
Dotfiles
Dotfiles and editor preferences: https://github.com/BradNut/dotfiles
Git
Edit .gitconfig with name and email
$ git config --global.name "Your Name"
$ git config --global.email "you@example.com"
Terminal
Vim
- If not installed:
sudo apt install vim - Configuration: .vimrc
Things to look into for vim
- Package manager
- Rainbow Parentheses
Zsh
Currently using zsh
- Install if not there
- Linux/Ubuntu:
sudo apt install zsh - OSX:
brew install zsh
- Linux/Ubuntu:
Configuration
- .zshrc
- Oh My Zsh
-- Install:
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Oh My Zsh Plugins
- Z
- Install:
git clone https://github.com/agkozak/zsh-z $ZSH_CUSTOM/plugins/zsh-z
- Install:
- zsh-autosuggestions
- Install:
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
- Install:
- zsh-syntax-highlighting
- Install:
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
- Install:
Bash
- Not using at the moment
Configuration
SSH
Enable
$ sudo apt update
$ sudo apt install openssh-server
Verify SSH is running:
$ sudo systemctl status ssh
Generating SSH Keys
Step by step: Generating New SSH Key and adding to the SSH Agent