Difference between revisions of "JFrog CLI"

From wikieduonline
Jump to navigation Jump to search
 
(13 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
  
* Installation: <code>[[brew install]] jfrog-cli-go</code>
+
* MacOS installation: <code>[[brew install]] jfrog-cli-go</code>
 +
* 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 --version]]
+
* <code>[[jfrog --version]]</code>
jfrog version 1.45.1
 
  
  
* rt: [[JFrog Artifactory]]
+
 
* bt: [[JFrog Bintray]]
+
* <code>rt</code>: [[JFrog Artifactory]]
* mc: [[JFrog Mission Control]]
+
* <code>bt</code>: [[JFrog Bintray]]
* xr: [[JFrog Xray]]
+
* <code>[[mc]]</code>: [[JFrog Mission Control]]
 +
* <code>xr</code>: [[JFrog Xray]]
  
 
== JFrog Bintray ==
 
== JFrog Bintray ==
Line 19: Line 30:
 
  [[jfrog rt]]
 
  [[jfrog rt]]
  
 
+
== JFrog Artifactory (<code>[[jfrog rt]]</code>) ==
 
* <code>jfrog rt command-name global-options command-options arguments</code>
 
* <code>jfrog rt command-name global-options command-options arguments</code>
  
Line 25: Line 36:
 
  [[jfrog rt config]]
 
  [[jfrog rt config]]
 
  [[jfrog rt ping]]  
 
  [[jfrog rt ping]]  
  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
Line 36: Line 47:
 
  jfrog rt git-lfs-clean
 
  jfrog rt git-lfs-clean
 
  jfrog rt curl
 
  jfrog rt curl
 
  
 
== See also ==
 
== See also ==

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: