Skip to content

Instantly share code, notes, and snippets.

@dipta007
Last active April 19, 2025 05:53
Show Gist options
  • Save dipta007/d36792b7c0080f1b919e9d5e2424aa41 to your computer and use it in GitHub Desktop.
Save dipta007/d36792b7c0080f1b919e9d5e2424aa41 to your computer and use it in GitHub Desktop.
nvim setup in server
# ------------------ node ------------------
# https://nodejs.org/en/download
# Download and install nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash
# in lieu of restarting the shell
\. "$HOME/.nvm/nvm.sh"
# Download and install Node.js:
nvm install 22
# ------------------ ripgrep ------------------
# https://github.com/BurntSushi/ripgrep
wget https://github.com/BurntSushi/ripgrep/releases/download/14.1.1/ripgrep-14.1.1-x86_64-unknown-linux-musl.tar.gz
tar -xzvf ripgrep-14.1.1-x86_64-unknown-linux-musl.tar.gz
# move rg to .local/bin/
# ------------------ nvim ------------------
# https://g.co/gemini/share/eeefb54ff1aa
mkdir -p ~/.local/nvim-stable
wget https://github.com/neovim/neovim/releases/download/nightly/nvim-linux-x86_64.tar.gz
tar xzvf nvim-linux-x86_64.tar.gz -C ~/.local/nvim-stable --strip-components=1
# add next line to end of bashrc
# export PATH="$HOME/.local/nvim-stable/bin:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment