08 July 2022
How to get up and running on a new machine.
There’s been a few times I have had to work on a VM or SSH into a server to do some work. I wanted to lower some of the friction associated with getting ready and comfortable in a new, foreign environment. This guide might also be useful for those who wanted to clone my setup but found the installation process a little tedious.
Overview:
Build Neovim from source or a release package.
Install dependencies for the setup. These are needed for the Neovim plugins to run smoothly
sudo apt-get install ripgrep fd-find tmux curl python3 python3-pip
Install pnpm and set up the Node env via pnpm env use --global lts
curl -fsSL https://get.pnpm.io/install.sh | sh -
Clone nvim dotfiles + whatever else you might want.
git clone https://www.github.com/aalhendi/dotfiles && mkdir --parents ~/.config/nvim/ && mv dotfiles/.config/nvim/* ~/.config/nvim/
Install global packages
pnpm add -g typescript graphql neovim
pip3 install 'pynvim'
Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Install rust-analyzer
rustup component add rust-src
Install anything else… Ex. Debian-11 still doesn’t have clangd-12 clangd, Marksman.
sudo apt-get install clangd-12
Run :PackerSync
from within Neovim