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

Failure to install xk6 #36

Closed
unlikelyzero opened this issue Feb 2, 2022 · 2 comments
Closed

Failure to install xk6 #36

unlikelyzero opened this issue Feb 2, 2022 · 2 comments

Comments

@unlikelyzero
Copy link

I'm just including this on the xk6 issue tracker for discoverability.

I installed go using the .pkg file and with brew. In both cases, I ended up with the following error:
$ go version
go version go1.17.6 darwin/amd64
$ go install go.k6.io/xk6/cmd/xk6@latest
$ xk6
zsh: command not found: xk6

The solution was not totally clear in this related discussion: https://community.k6.io/t/unable-to-locate-xk6-after-installing-it/1866

Here is a gist which helps handle every case https://gist.github.com/vsouza/77e6b20520d07652ed7d

@imiric
Copy link
Contributor

imiric commented Feb 3, 2022

Hi, thanks for reporting this!

We'll consider linking to that gist from the README.

@javaducky
Copy link
Contributor

Just wanted to add a note with regard to the described gist:

If you are using Homebrew to install Go on Apple silicon (i.e. M1 processors), keep in mind that Homebrew installation has changed the preferred prefix from /usr/local to /opt/homebrew.

For this reason, you cannot simply copy/paste from that gist for your specific shell.

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

No branches or pull requests

3 participants