Skip to content

Commit

Permalink
install: neovim GitHub release install on MacOSX
Browse files Browse the repository at this point in the history
Move from supporting tools to neovim install

Add intro sentence to Install Neovim section
  • Loading branch information
practicalli-johnny committed Jan 3, 2024
1 parent 7d4f743 commit 56bc126
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 25 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- install: add MacOSX homebrew section
- install: neovide install and configuration, Linux & MacOSX
- source-control: add nvimdiff configuration and use for Git diff views
- install: neovim release install on MacOSX
- install: neovim GitHub release install on MacOSX

### Changed
- ci: spell lychee & repository trufflehog linters warn only (false positives)
Expand Down
51 changes: 27 additions & 24 deletions docs/install/neovim.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,30 +48,6 @@ Install the following tools to support Neovim and AstroNvim
sudo apt install wl-clipboard
```

=== "MacOSX GitHub Release"

From the [**Neovim GitHub release page**](https://github.com/neovim/neovim/releases):

1. Install `libintl`and `gettext` (e.g. via `brew install libintl gettext`)
2. Download **nvim-macos.tar.gz**
3. Run `xattr -c ./nvim-macos.tar.gz` (to avoid "unknown developer" warning)
4. Make local apps directory for neovim (and other things like node.js, etc.)

```shell
mkdir -P ~/.local/apps
```

5. Extract the neovim download

```shell
tar zvxf nvim-macos.tar.gz -C ~/.local/apps/
```

6. Create nvim symbolic link in `~/.local/bin` to include Neovim on the OS execution path (check `.local/bin` is added to the execution the path by the Operating System command line shell)

```shell
ln -s ~/.local/apps/nvim-macos/bin/nvim ~/.local/bin/nvim
```

=== "MacOSX Homebrew"

Expand All @@ -84,6 +60,8 @@ Install the following tools to support Neovim and AstroNvim

## Install Neovim

Use the [GitHub releases](https://github.com/neovim/neovim/releases/) for the latest version of Neovim, or use a Package manager for the operating system if the version of Neovim is 0.9.x

=== "Linux AppImage"

Download the [Linux AppImage](https://github.com/neovim/neovim/releases/){target=_blank} from the Neovim Release page and place the file on the executable path, e.g. `$HOME/.local/bin`
Expand Down Expand Up @@ -145,6 +123,31 @@ Install the following tools to support Neovim and AstroNvim
Run `nvim` (or setup a Neovim configuration first, e.g. AstroNvim)


=== "MacOSX GitHub Release"

From the [**Neovim GitHub release page**](https://github.com/neovim/neovim/releases):

1. Install `libintl`and `gettext` (e.g. via `brew install libintl gettext`)
2. Download **nvim-macos.tar.gz**
3. Run `xattr -c ./nvim-macos.tar.gz` (to avoid "unknown developer" warning)
4. Make local apps directory for neovim (and other things like node.js, etc.)

```shell
mkdir -P ~/.local/apps
```

5. Extract the neovim download

```shell
tar zvxf nvim-macos.tar.gz -C ~/.local/apps/
```

6. Create nvim symbolic link in `~/.local/bin` to include Neovim on the OS execution path (check `.local/bin` is added to the execution the path by the Operating System command line shell)

```shell
ln -s ~/.local/apps/nvim-macos/bin/nvim ~/.local/bin/nvim
```

=== "Debian Package"

!!! INFO "Linux version only packaged as AppImage from Neovim 0.9 onward"
Expand Down

0 comments on commit 56bc126

Please sign in to comment.