Execute this command in order to execute dependencies:
sudo apt update
sudo apt install -y tmux git curl zsh zsh-syntax-highlighting xclip ripgrep libfuse2 direnv
Initialize git for Dotfiles following the procedure from Atlassian:
git init --bare $HOME/.cfg
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
config config --local status.showUntrackedFiles no
echo "alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'" >> $HOME/.bashrcThen link the Dotfiles git to this repository:
source ~/.bashrc
config remote add origin https://github.com/JosephPenaQuino/dotfiles.git
config checkout master
config branch --set-upstream-to=origin/master master
config pull origin master
Execute the commands below:
mkdir -p ~/programs
mkdir -p ~/projectshttps://github.com/nvm-sh/nvm?tab=readme-ov-file#git-install
Then check in https://nodejs.org/en and install the latest version
nvm install vX.Y.ZEnable yarn:
corepack enable # enable it once
corepack prepare yarn@stable --activate # activate yarnBased on Neovim's repository:
cd ~/programs
wget https://github.com/neovim/neovim/releases/download/v0.11.2/nvim-linux-x86_64.appimage
mv nvim-linux-x86_64.appimage nvim.appimage
chmod u+x nvim.appimage
sudo ln -s $HOME/programs/nvim.appimage /usr/local/bin/nvim
sudo ln -s $HOME/programs/nvim.appimage /usr/local/bin/vBased on packer's repository
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
~/.local/share/nvim/site/pack/packer/start/packer.nvimThen, open Neovim and run:
:PackerInstall
Finally, restart Neovim.
Follow the steps to install Alacritty from repository,
but clone the repository in ~/programs
config submodule update --init --remote
# set as default
sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/local/bin/alacritty 50
sudo update-alternatives --config x-terminal-emulatorFollow the steps to install PYENV from repository
sudo apt install -y python3-notcurses libffi-dev libreadline-dev libssl-dev libsqlite3-dev python3-tk tk-dev lzma liblzma-dev libbz2-dev
pyenv install 3.12
pyenv global 3.12From Poetry's documentation:
curl -sSL https://install.python-poetry.org | python -
Follow the steps to install oh-my-zsh from repository
- https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md
- https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md#oh-my-zsh
- https://github.com/romkatv/powerlevel10k?tab=readme-ov-file#oh-my-zsh
This section is based on the TMUX plugin manager repository.
Install tmux plugin manager:
git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpmGo to the TMUX file:
v ~/.tmux.conf
Execute to install the plugins.
In order to use the zsh fuzzy finder, you must clone their repository.
Remember, install fzf from the repository instead of using the apt source.
the repository version is higher than the apt source.
Install Perl and full-texlive
sudo apt install -y perl texlive-full
cargo install tree-sitter-cli # for nvim-treesitter with vimtexThen, follow latexmk's repository to install it.
From Vale's documentation:
sudo snap install valeFollow doc