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

a few clear steps how to install vessel #29

Merged
merged 1 commit into from
Apr 13, 2022
Merged

Conversation

gabrielnic
Copy link
Contributor

I had some issues figuring out how to install vessel. So it seems the installer has to be in $PATH and this is what worked for me on ubuntu (wsl2) and macos.

Copy link
Collaborator

@kritzcreek kritzcreek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, I think we need to figure out what the best practice is for putting binaries on the PATH as a OSX user before we merge this.

@@ -5,6 +5,11 @@ A simple package manager for the Motoko programming language.
## Getting started

1. Download a copy of the `vessel` binary [from the release page](https://github.com/dfinity/vessel/releases) or build one yourself
1. For Ubuntu in `$HOME/bin` RUN `wget https://github.com/dfinity/vessel/releases/download/v0.6.1/vessel-linux64`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd probably tell people to run the wget, chmod +x and to then mv the resulting binary. That way they don't have to be in a specific directory for the instructions to work.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah that's a good idea, I'll change that :)

@@ -5,6 +5,11 @@ A simple package manager for the Motoko programming language.
## Getting started

1. Download a copy of the `vessel` binary [from the release page](https://github.com/dfinity/vessel/releases) or build one yourself
1. For Ubuntu in `$HOME/bin` RUN `wget https://github.com/dfinity/vessel/releases/download/v0.6.1/vessel-linux64`

For OSX in `usr/local/bin` RUN: `wget https://github.com/dfinity/vessel/releases/download/v0.6.1/vessel-macos`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a MacOS expert, but is there maybe a user specific directory we could use rather than /usr/local/bin?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See this https://superuser.com/questions/7150/mac-os-x-conventional-places-where-binary-files-should-live

UPDATE 12-01-2018 At some point since I wrote my original answer, Apple changed its default $PATH. As a result, a lot of what I say below is irrelevant to recent Macs. If you type echo $PATH in a terminal, and /usr/local/bin is first, then you can ignore everything below about changing your $PATH.

Copy link
Contributor Author

@gabrielnic gabrielnic May 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it has to be high sierra at least in order for that to work but I'll double check and let you know. Thanks

@crusso crusso self-requested a review April 13, 2022 08:40
Copy link
Contributor

@crusso crusso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's merge this puppy. Someone can always adjust with a PR.

@crusso crusso merged commit e2af266 into dfinity:main Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants