|
51 | 51 |
|
52 | 52 |
|
53 | 53 |
|
| 54 | +<h1 id="installation">Installation</h1> |
| 55 | + |
| 56 | +<p>Codefresh CLI is developed and built with node.js. |
| 57 | +In case you have node.js installed on your machine you can use npm or yarn to install it.<br> |
| 58 | +If you don’t have node.js installed you can install the CLI by downloading a binary.</p> |
| 59 | + |
| 60 | +<h2 id="npm">NPM</h2> |
| 61 | + |
| 62 | +<p>Codefresh’s cli is available for installation through NPM registry.</p> |
| 63 | + |
| 64 | +<p>Install: |
| 65 | +<code>npm install -g codefresh</code></p> |
| 66 | + |
| 67 | +<p>Install a specific version: |
| 68 | +<code>npm install -g codefresh@{VERSION}</code></p> |
| 69 | + |
| 70 | +<p>Update to latest version: |
| 71 | +<code>npm install -g codefresh</code></p> |
| 72 | + |
| 73 | +<p>Update to a specific version: |
| 74 | +<code>npm install -g codefresh@${VERSION}</code></p> |
| 75 | + |
| 76 | +<h2 id="yarn">YARN</h2> |
| 77 | + |
| 78 | +<p>Install: |
| 79 | +<code>yarn global add codefresh</code></p> |
| 80 | + |
| 81 | +<p>Install a specific version: |
| 82 | +<code>yarn global add codefresh@{VERSION}</code></p> |
| 83 | + |
| 84 | +<p>Update to latest version: |
| 85 | +<code>yarn global upgrade codefresh</code></p> |
| 86 | + |
| 87 | +<p>Update to a specific version: |
| 88 | +<code>yarn global upgrade codefresh@{VERSION}</code></p> |
| 89 | + |
| 90 | +<h2 id="binaries">Binaries</h2> |
| 91 | + |
| 92 | +<p>Navigate to <a href="https://github.com/codefresh-io/cli/releases" target="_blank">Official Releases</a> |
| 93 | +and download the binary that matches your operating system.<br> |
| 94 | +We currently support the following OS: <br> |
| 95 | +<ul> |
| 96 | + <li><a href="https://github.com/codefresh-io/cli/releases/download/v0.6.6/codefresh-v0.6.6-linux-x64.tar.gz" target="_blank">Linux-x64</a></li> |
| 97 | + <li><a href="https://github.com/codefresh-io/cli/releases/download/v0.6.6/codefresh-v0.6.6-macos-x64.tar.gz" target="_blank">Macos-x64</a></li> |
| 98 | + <li><a href="https://github.com/codefresh-io/cli/releases/download/v0.6.6/codefresh-v0.6.6-win-x64.tar.gz" target="_blank">Windows-x64</a></li> |
| 99 | +</ul></p> |
| 100 | + |
| 101 | +<p>After downloading the binary, untar or unzip it and your are good to go.<br> |
| 102 | +You can also add the binary to your system PATH environment variable so you can use it easily.</p> |
| 103 | + |
| 104 | +<p>If your operating system is missing please feel free to open us an issue in our <a href="https://github.com/codefresh-io/cli/issues" target="_blank">Github repository</a>.</p> |
| 105 | + |
| 106 | +<h2 id="docker-image">Docker image</h2> |
| 107 | + |
| 108 | +<p>You can run the CLI using our official docker image which is published to <a href="https://hub.docker.com/r/codefresh/cli/" target="_blank">Dockerhub</a><br></p> |
| 109 | + |
| 110 | +<p>Pull the latest version: |
| 111 | +<code>docker pull codefresh/cli</code></p> |
| 112 | + |
| 113 | +<p>Pull a specific version: |
| 114 | +<code>docker pull codefresh/cli:${VERSION}</code></p> |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
54 | 119 | <h1 id="introduction">Introduction</h1>
|
55 | 120 |
|
56 |
| -<p>Welcome to the Kittn API! You can use our API to access Kittn API endpoints, which can get information on various cats, kittens, and breeds in our database.</p> |
| 121 | +<p>Welcome to Codefresh’s official CLI documentation!</p> |
57 | 122 |
|
58 |
| -<p>We have language bindings in Shell, Ruby, and Python! You can view code examples in the dark area to the right, and you can switch the programming language of the examples with the tabs in the top right.</p> |
| 123 | +<h2 id="installation">Installation</h2> |
59 | 124 |
|
60 |
| -<p><strong>This example API documentation page was created with <a href="https://github.com/bep/docuapi/">DocuAPI</a>, a multilingual documentation theme for the static site generator <a href="http://gohugo.io/">Hugo</a>.</strong></p> |
| 125 | +<h3 id="from-binaries">From Binaries</h3> |
| 126 | + |
| 127 | + |
| 128 | + |
61 | 129 |
|
62 | 130 | <h1 id="kittens">Kittens</h1>
|
63 | 131 |
|
|
0 commit comments