Difference between revisions of "JFrog CLI"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Draft}}
 
{{Draft}}
  
 +
 +
== Installation ==
 
https://www.jfrog.com/confluence/display/CLI/JFrog+CLI
 
https://www.jfrog.com/confluence/display/CLI/JFrog+CLI
  
Line 7: Line 9:
 
  [[wget -qO]] - https://releases.jfrog.io/artifactory/api/gpg/key/public | sudo [[apt-key add]] -;
 
  [[wget -qO]] - https://releases.jfrog.io/artifactory/api/gpg/key/public | sudo [[apt-key add]] -;
 
  echo "deb https://releases.jfrog.io/artifactory/jfrog-debs xenial contrib" | sudo tee -a [[/etc/apt/sources.list]];
 
  echo "deb https://releases.jfrog.io/artifactory/jfrog-debs xenial contrib" | sudo tee -a [[/etc/apt/sources.list]];
  sudo [[apt update]];
+
  sudo [[apt update]] && sudo apt install -y jfrog-cli;
sudo apt install -y jfrog-cli;
+
 
 +
 
 +
Configuration:
 +
[[jfrog-cli.conf]]
 +
  
 +
* <code>[[jfrog --version]]</code>
  
[[jfrog --version]]
 
jfrog version 1.45.1
 
  
  
Line 33: Line 38:
 
  [[jfrog rt upload]]
 
  [[jfrog rt upload]]
 
  [[jfrog rt download]] or [[jfrog rt dl]]
 
  [[jfrog rt download]] or [[jfrog rt dl]]
  jfrog rt cp
+
  [[jfrog rt cp]]
 
  jfrog rt mv
 
  jfrog rt mv
 
  jfrog rt del
 
  jfrog rt del

Latest revision as of 10:56, 5 May 2021

This article is a Draft. Help us to complete it.


Installation[edit]

https://www.jfrog.com/confluence/display/CLI/JFrog+CLI

  • MacOS installation: brew install jfrog-cli-go
  • Ubuntu/Debian:
wget -qO - https://releases.jfrog.io/artifactory/api/gpg/key/public | sudo apt-key add -;
echo "deb https://releases.jfrog.io/artifactory/jfrog-debs xenial contrib" | sudo tee -a /etc/apt/sources.list;
sudo apt update && sudo apt install -y jfrog-cli;


Configuration:

jfrog-cli.conf


JFrog Bintray[edit]

jfrog bt
   jfrog bt ent
jfrog rt

JFrog Artifactory (jfrog rt)[edit]

  • jfrog rt command-name global-options command-options arguments


jfrog rt config
jfrog rt ping 
jfrog rt upload
jfrog rt download or jfrog rt dl
jfrog rt cp
jfrog rt mv
jfrog rt del
jfrog rt search
jfrog rt set-props
jfrog rt delete-props
jfrog rt access-token-create
jfrog rt git-lfs-clean
jfrog rt curl

See also[edit]

Advertising: