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

Chainlink : command not found #9638

Open
BahadorGh opened this issue Jun 17, 2023 · 1 comment
Open

Chainlink : command not found #9638

BahadorGh opened this issue Jun 17, 2023 · 1 comment

Comments

@BahadorGh
Copy link

Description
I went through the steps on the smartcontractkit/chainlink instructions to set up a chainlink node. but after finishing the process of make install, Whenever I try to run chainlink -h ,I face with chainlink: command not found

Your Environment
Windows 10,
WSL 2
VSCode
Node.js 16.20.0
bash terminal
Go installed and placed in the path as mentioned in the chainlink documents.

Steps to Reproduce
As mentioned on the documents of chainlink.

@codetit4n
Copy link

Was facing the same issue. Fixed it by installing go 1.20.6 again. Then doing these steps properly:

mkdir -p ~/go/bin
export GOPATH=~/go
export PATH=$PATH:/usr/local/go/bin:~/go/bin
echo "export GOPATH=$GOPATH" >> ~/.bashrc
echo "export PATH=$PATH" >> ~/.bashrc
source ~/.bashrc

These are mentioned here: https://github.com/smartcontractkit/chainlink/wiki/Development-Setup-Guide

The issue with my installation was that I was using zsh instead of bash as my default. So, i changed the bashrc to zshrc in above commands.

Also, the go path was a bit different. You can find your go path using which go command.

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

2 participants