2
0
mirror of https://github.com/mhinz/neovim-remote synced 2024-11-11 13:10:34 +00:00
neovim-remote/INSTALLATION.md
2018-02-28 20:13:05 +01:00

1.2 KiB

Installation

The normal way

$ pip3 install neovim-remote

On most systems this will install to /usr/local/bin, which is usually in $PATH already. You're done.

If you get a permission denied error, e.g. because it tried to install to /usr/bin, do not use sudo to force it!

Use this instead:

$ pip3 install --user neovim-remote

This will install to ~/.local/bin (Linux) or ~/Library/Python/3.x/bin (macOS) which needs to be added to $PATH.

This will give you the correct location:

$ python3 -c 'import site; print(site.USER_BASE)'

From repo

If you want to test your own changes, it makes sense to put your local repo into develop mode. That way your Python environment will use the repo directly and you don't have to reinstall the package after each change:

$ git clone https://github.com/mhinz/neovim-remote
$ cd neovim-remote
$ pip3 install -e .

Now, pip3 list will show the path to the local repo after the package version.

From zip

Download the zipped sources and install install them with either pip3 install master.zip or by running python3 setup.py install in the unzipped directory.