ord
ord copied to clipboard
How to update ord?
I have installed version 0.5.0 by building it from source as follows:
git clone https://github.com/casey/ord.git cd ord cargo build --release
What is the correct way to update it to the newest version of ord?
@DanielHook15 git pull
to "pull" latest commits and build again with cargo build --release
.
Thank you for the fast help! This means in total to run the following lines?
git pull https://github.com/casey/ord.git cd ord cargo build --release
Thank you for the fast help! This means in total to run the following lines?
git pull https://github.com/casey/ord.git cd ord cargo build --release
cd ord
git pull
cargo build --release
That works, thanks!
Just doing a git pull
will put you at the latest commit, which could be unstable.
You really want to be on the latest release. To do that run
git fetch
git checkout 0.5.1
Thanks a lot for this important correction!
Would someone be able to share what commands to run in Linux to get the update? I got lot a little bit above with the git fetch
and then git clone
Thanks!
cd ord git fetch git checkout 0.5.1 cargo build --release
Thank you for the patience with all the questions. I just can't find an ord directory. Should it be in my /bin directory?
First run git clone https://github.com/casey/ord
.
Thank you! That worked for me!
For other people that end up looking, this is what I ran:
git clone https://github.com/casey/ord.git
cd ord
git checkout 0.5.1
cargo build --release
Ran cargo build --release
and let it finish. Now after running ord --version
I still get 0.5. Am I missing something?
Ok figured it out. Here are additional steps:
git clone https://github.com/casey/ord.git
cd ord
git checkout 0.5.1
cargo build --release
which ord
This gives you a path
cd target/release
./ord --version
- Should show version you are trying to install
cp ord
+ [PATH ABOVE WHEN YOU RAN WHICH ORD]