Skip to content

how to update helix-editor on Ubuntu? #2069

Answered by the-mikedavis
matan-h asked this question in Q&A
Discussion options

You must be logged in to vote

A symlink from ~/.config/helix/runtime to the runtime directory in the source makes upgrades easier. For example if you checked the repository out like so:

$ cd ~/src                                          # say you check stuff out into ~/src
$ git clone [email protected]:helix-editor/helix.git
$ mkdir -p ~/.config/helix
$ pushd ~/.config/helix
$ ln -s ~/src/helix/runtime .                       # setup the symlink
$ popd
$ cargo install --path helix-term                   # initial installation

Then when you'd like to update,

$ cd ~/src/helix
$ git pull
$ cargo install --path helix-term

Then you don't need to do anything with the runtime directory because of the symlink.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@matan-h
Comment options

@the-mikedavis
Comment options

Answer selected by matan-h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants