Reputation: 536
I'm running it on Ubuntu.
when I try to run: npm install -g jfrog-cli-go
I get:
And when I try the other option of running it using curl, it gives the feeling like it succeeded but when I try to run
> jfrog
it doesn't recognize the command curl -fL https://getcli.jfrog.io | sh
I get:
the jfrog-cli version that I'm using is: 1.17.1
Can anyone tell me what's the problem here?
Upvotes: 3
Views: 13011
Reputation: 6083
npm:
For npm in Ubuntu please use --unsafe-perm=true
flag:
sudo npm install -g jfrog-cli-go --unsafe-perm=true
.
Please see the npm package documentation for more info.
curl: Curl will download jfrog cli to your current working directory. After this, you can either run it locally by running ./jfrog
or moving it to Ubuntu's execution path, e.g. sudo mv ./jfrog /usr/local/bin/
Upvotes: 10