-
Notifications
You must be signed in to change notification settings - Fork 2
Prerequisite
Charles Chiu edited this page Oct 14, 2022
·
7 revisions
Here's some bash scripts I wrote to install all the things you need for this nvim config, including languages, packages, cli tools, etc.
For Ubuntu
users, run the scripts in the following order:
sudo sh apt_install_linux.sh
bash language_managers_linux.sh
bash utility_linux.sh
bash nvim_setup_linux.sh
# If somethings goes wrong with installing PHP
sudo sh php_compile_fix.sh
I install most things in ~/tools
, don't forget to add path to your $PATH
in your .bashrc
. For example: export PATH="$PATH:$HOME/tools/nvim/bin"
. Or just copy my .bashrc.
NOTE: Currently I run nvim on Ubuntu22.04(WSL), if there's any problem with macOS or other linux disros, please file an issue or a discussion post.
- Add your ssh key to github account.
- Configure your ssh key, add follow content to
~/.ssh/config
Host github
Hostname github.com
User git
IdentityFile ~/.ssh/id_rsa.pub # your SSH public key file
Python support:
sudo apt install python3-neovim
sudo apt install python3-dev python3-pip
pip3 install pynvim
pip3 install --upgrade pynvim
Node support:
npm install neovim --location=global
Perl support:
cpanm -n Neovim::Ext
cpanm -n App::cpanminus
Ruby support
gem install neovim
sudo apt install lldb
sudo apt install latexmk texlive-fonts-extra texlive-fonts-recommended texlive-latex-extra --no-install-recommends
npm install tslib --location=gloabal
sudo apt install sqlite3 libsqlite3-dev
luarocks install sqlite
luarocks install luv