源码:https://github.com/neovim/neovim
安装
Linux/MacOS
1
2
3
4
5
|
# 最新版本
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz
# 指定版本
wget https://github.com/neovim/neovim/releases/download/v0.10.0/nvim-linux64.tar.gz
|
解压
1
|
sudo tar -zxvf nvim-linux64.tar.gz -C /opt/
|
创建软连接(可以跳过,使用环境变量的方式)
1
|
sudo ln -s /opt/nvim-linux64/bin/nvim /usr/local/bin/nvim
|
配置环境变量
1
2
|
echo 'export PATH="$PATH:/opt/nvim-linux64/bin"' >> ~/.bashrc
source ~/.bashrc
|
Windows
Windows 8+ is required. Windows 7 or older is not supported.
下载安装:https://github.com/neovim/neovim/releases/latest/download/nvim-win64.msi
Winget
- Release:winget install Neovim.Neovim
Chocolatey
- Latest Release:
choco install neovim
(use -y for automatically skipping confirmation messages)
- Development (pre-release):
choco install neovim --pre
插件
https://github.com/wbthomason/packer.nvim
主题
https://github.com/folke/tokyonight.nvim
https://github.com/nvim-lualine/lualine.nvim