2021-02-25 01:05:49 +00:00
|
|
|
# Environment Setup
|
2020-05-09 00:20:14 +00:00
|
|
|
|
2021-02-25 01:05:49 +00:00
|
|
|
## Coding Packages
|
2020-09-22 04:53:52 +00:00
|
|
|
|
2020-05-11 00:14:55 +00:00
|
|
|
- Git: `sudo apt install git`
|
|
|
|
|
- Curl: `sudo apt install curl`
|
2020-05-14 18:14:34 +00:00
|
|
|
- Docker: [Ubuntu Install](https://docs.docker.com/engine/install/ubuntu/#prerequisites)
|
|
|
|
|
- [Install instructions](../master/linux/Docker-Setup.md)
|
2020-10-27 23:53:17 +00:00
|
|
|
- Gatsby CLI: `sudo npm install gatsby-cli -g`
|
|
|
|
|
- Heroku CLI: `sudo snap install --classic heroku`
|
2021-02-25 01:05:49 +00:00
|
|
|
- Vim: `sudo apt install vim`
|
2020-10-27 23:53:17 +00:00
|
|
|
- Sanity CLI: `sudo npm install @sanity/cli -g`
|
2020-05-11 00:14:55 +00:00
|
|
|
|
2021-02-25 01:05:49 +00:00
|
|
|
## Useful System Packages
|
2020-11-04 18:11:46 +00:00
|
|
|
|
2020-11-04 18:31:08 +00:00
|
|
|
- [Neofetch](https://github.com/dylanaraps/neofetch)
|
|
|
|
|
- `sudo apt install neofetch`
|
2020-11-04 18:11:46 +00:00
|
|
|
- [TLDR Man Pages](https://tldr.sh/)
|
|
|
|
|
- [Trash-CLI](https://www.npmjs.com/package/trash-cli)
|
|
|
|
|
|
2021-02-25 01:05:49 +00:00
|
|
|
## [Linux Brew](https://docs.brew.sh/Homebrew-on-Linux)
|
2020-09-22 04:53:52 +00:00
|
|
|
|
2020-05-11 00:14:55 +00:00
|
|
|
- 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)
|
2020-09-22 04:53:52 +00:00
|
|
|
|
2020-05-11 00:14:55 +00:00
|
|
|
- `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`
|
|
|
|
|
|
2020-09-13 23:03:22 +00:00
|
|
|
#### List of installed casks
|
2020-09-22 04:53:52 +00:00
|
|
|
|
2020-10-27 23:53:17 +00:00
|
|
|
_NOTE: ZSH and plugins for Ubuntu should be manually installed and not from brew_
|
|
|
|
|
|
2020-09-13 23:03:22 +00:00
|
|
|
- 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`
|
2020-05-11 00:14:55 +00:00
|
|
|
|
2020-09-07 22:12:54 +00:00
|
|
|
## Dotfiles
|
2020-09-22 04:53:52 +00:00
|
|
|
|
2020-09-07 22:12:54 +00:00
|
|
|
Dotfiles and editor preferences: https://github.com/BradNut/dotfiles
|
2020-05-11 00:14:55 +00:00
|
|
|
|
2020-09-07 22:12:54 +00:00
|
|
|
## Git
|
2020-09-22 04:53:52 +00:00
|
|
|
|
2020-09-16 07:16:22 +00:00
|
|
|
Edit `.gitconfig` with name and email
|
2020-09-22 04:53:52 +00:00
|
|
|
|
2020-09-16 07:16:22 +00:00
|
|
|
```
|
|
|
|
|
$ git config --global.name "Your Name"
|
|
|
|
|
$ git config --global.email "you@example.com"
|
|
|
|
|
```
|
2020-05-11 00:14:55 +00:00
|
|
|
|
|
|
|
|
## Terminal
|
|
|
|
|
|
2021-02-25 01:05:49 +00:00
|
|
|
- See details here: [Terminal Setup](../master/environment/Terminal.md)
|