Difference between revisions of "JFrog CLI"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(26 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]]
 +
 +
 
 +
* <code>[[jfrog --version]]</code>
 +
 
  
 +
 +
* <code>rt</code>: [[JFrog Artifactory]]
 +
* <code>bt</code>: [[JFrog Bintray]]
 +
* <code>[[mc]]</code>: [[JFrog Mission Control]]
 +
* <code>xr</code>: [[JFrog Xray]]
 +
 +
== JFrog Bintray ==
 
  [[jfrog bt]]
 
  [[jfrog bt]]
 +
    jfrog bt ent
 
  [[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>
  
  
  jfrog rt config
+
  [[jfrog rt config]]
 
  [[jfrog rt ping]]  
 
  [[jfrog rt ping]]  
  jfrog rt upload
+
  [[jfrog rt upload]]
  jfrog rt download
+
  [[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
  jfrog rt search
+
  [[jfrog rt search]]
 
  jfrog rt set-props
 
  jfrog rt set-props
 
  jfrog rt delete-props
 
  jfrog rt delete-props
Line 25: 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: