简体   繁体   中英

Jfrog-CLI installation isn't working

I'm running it on Ubuntu. when I try to run: npm install -g jfrog-cli-go

I get:

运行NPM命令时出错

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 curl -fL https://getcli.jfrog.io | sh I get:

运行Curl命令时出错

the jfrog-cli version that I'm using is: 1.17.1

Can anyone tell me what's the problem here?

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, eg sudo mv ./jfrog /usr/local/bin/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM