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

Method 2 installation with go fails #38

Open
bound-variable opened this issue Jan 18, 2025 · 1 comment
Open

Method 2 installation with go fails #38

bound-variable opened this issue Jan 18, 2025 · 1 comment

Comments

@bound-variable
Copy link

Running go get -u github.com/shenwei356/brename/ fails with:

go: go.mod file not found in current directory or any parent directory.

@shenwei356
Copy link
Owner

But it is there:

Try this:

 # --------------- the development version --------------

 git clone https://github.com/shenwei356/brename
 cd brename/
 go build

 # The executable binary file is located in:
 #   ./brename
 # You can also move it to anywhere in the $PATH
 mkdir -p $HOME/bin
 cp ./brename $HOME/bin/

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