Neovim安装配置

源码:https://github.com/neovim/neovim

安装

Linux/MacOS

最新版本

1
2
3
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.tar.gz
sudo rm -rf /opt/nvim
sudo tar -zxvf nvim-linux-x86_64.tar.gz -C /opt/

指定版本

1
2
3
curl -LO https://github.com/neovim/neovim/releases/download/v0.10.0/nvim-linux-x86_64.tar.gz
sudo rm -rf /opt/nvim
sudo tar -zxvf nvim-linux-x86_64.tar.gz -C /opt/

配置环境变量

1
2
echo 'export PATH="$PATH:/opt/nvim-linux-x86_64/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

  • Releasewinget 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

网站总访客数:Loading
网站总访问量:Loading
使用 Hugo 构建
主题 StackJimmy 设计
-->