Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add appending to PATH instruction inside installation script #641

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

Hennzau
Copy link
Collaborator

@Hennzau Hennzau commented Aug 30, 2024

Hi! The installation script introduced in #600 is excellent! I think most beginners really need something easy to execute, especially students.

I changed the final message to provide more useful instructions for appending directly to .bashrc or .zshrc, so the Dora CLI is now accessible everywhere, every time, without needing to source your path again and again when you change your terminal.

Here’s how it looks for ZSH:

echo 'export PATH=\$PATH:$dest' >> ~/.zshrc
source ~/.zshrc

Of course the user can decide to not append his path.

@Hennzau Hennzau self-assigned this Aug 30, 2024
@Hennzau Hennzau added the cli CLI label Aug 30, 2024
@haixuanTao
Copy link
Collaborator

Indeed, that's very useful! Thanks!

@haixuanTao haixuanTao merged commit cafe142 into main Aug 30, 2024
39 of 40 checks passed
@haixuanTao haixuanTao deleted the install_script branch August 30, 2024 13:14
@haixuanTao
Copy link
Collaborator

FYI, I made the script so that we can not only install dora-cli but also any binary given a github repo.

In the future we could release rust node using a predefined naming and people will be to curl install it without having to have cargo installed. This will also make it easier for people with exotic target such as raspberry-pi macos windows...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants