Last active
May 10, 2020 01:18
-
-
Save iberno/241755df6f1740f474b07d1b8daed91b to your computer and use it in GitHub Desktop.
Ubuntu Debian - Development Environment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ubuntu / Devian | |
## Development Installation Process | |
# Install git | |
sudo apt install git | |
- config | |
git config --global user.name "username" | |
git config --global user.email "[email protected]" | |
--- | |
# Install CURL | |
sudo apt install curl | |
--- | |
# Install ZSH | |
sudo apt install zsh | |
--- | |
# Oh My ZSH | |
1. Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins) | |
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
2. Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc): | |
plugins=(zsh-autosuggestions) | |
---- | |
# Install NVM | |
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash | |
1 - import on your ~./zshrc | |
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
--- | |
# Install Node and NPM | |
nvm install --lts | |
---- | |
# Install Yarn | |
1 - | |
-- 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 | |
2 - | |
-- sudo apt update && sudo apt install --no-install-recommends yarn | |
--- | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment