<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>command line tool Archives | Clever Cloud</title>
	<atom:link href="https://www.clever.cloud/blog/tag/command-line-tool/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.clever.cloud/blog/tag/command-line-tool/</link>
	<description>From Code to Product</description>
	<lastBuildDate>Thu, 23 Oct 2025 13:58:37 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://cdn.clever-cloud.com/uploads/2023/03/cropped-cropped-favicon-32x32.png</url>
	<title>command line tool Archives | Clever Cloud</title>
	<link>https://www.clever.cloud/blog/tag/command-line-tool/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Clever Tools Packaged!</title>
		<link>https://www.clever.cloud/blog/features/2017/09/06/clever-tools-packaged-windows-macos-gnu-linux/</link>
		
		<dc:creator><![CDATA[Clément Nivolle]]></dc:creator>
		<pubDate>Wed, 06 Sep 2017 11:47:00 +0000</pubDate>
				<category><![CDATA[Features]]></category>
		<category><![CDATA[clever tools]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[command line tool]]></category>
		<guid isPermaLink="false">https://www2.cleverapps.io/wp/blog/technology/2017/09/06/clever-tools-packaged-windows-macos-gnu-linux/</guid>

					<description><![CDATA[<p><img width="1440" height="540" src="https://cdn.clever-cloud.com/uploads/2021/08/clever-cli-packaged-1.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="clever cli packaged 1" decoding="async" fetchpriority="high" srcset="https://cdn.clever-cloud.com/uploads/2021/08/clever-cli-packaged-1.png 1440w, https://cdn.clever-cloud.com/uploads/2021/08/clever-cli-packaged-1-300x113.png 300w, https://cdn.clever-cloud.com/uploads/2021/08/clever-cli-packaged-1-1024x384.png 1024w, https://cdn.clever-cloud.com/uploads/2021/08/clever-cli-packaged-1-768x288.png 768w, https://cdn.clever-cloud.com/uploads/2021/08/clever-cli-packaged-1-1368x513.png 1368w" sizes="(max-width: 1440px) 100vw, 1440px" /></p>We have packaged the Clever Tools CLI for Windows, MacOs &amp; GNU/Linux. This makes it way easier to setup. Discover how to do it for these platforms.

<span id="more-2901"></span>
<h2 id="clever-tools-should-better-be-called-clever-cool">Clever Tools should better be called Clever Cool</h2>
First of all, what is Clever Tools? Ok, basically it's all what you can do in the <a href="https://api.clever-cloud.com/v2/sessions/login/">console.clever-cloud.com</a> web UI but through a command line tool.

How is that awesome?

Well, it is. For most of our users, going back and forth in the web console is slowing their development workflow. Even if the web console is indispensable for people more comfortable with it, we wanted our users to be able to exactly to do the same in both. By the way, did you know you can also use the API to do everything?

Anyway, the cool part with Clever Tools is that you stay in the comfy shell. You can use Clever Tools along with vim, git and even grep. That's pretty handy to manage logs for instance.

Earlier this year, we released <a href="https://www.clever.cloud/blog/features/2017/02/09/clever-tools-release/">new features in the CLI 0.7.0</a> such as fine-grained access to logs, ssh into a running instance for debugging purposes (eg. list files, view logs locally,...)

So here is a short review of whay you can do:
<pre><code class="language-bash"># Deploying on the production server
$ clever deploy --alias prod
# Displaying the (live-updated) status of an app
$ clever activity --follow --alias preprod
# Show the logs
$ clever logs
# Create a free plan PG addon named my-addon in the Montreal zone
$ clever addon create postgresql-addon my-addon-pg --plan dev --region mtl
# Create a node.js app named my-app-dev in the Paris zone
$ clever create my-app-dev --type node --alias dev --region par
</code></pre>
But you can also set notifications, start and stop your apps... well, as we said: everything!

If you want to dig it a bit more, you will find<a href="https://www.clever.cloud/developers/doc/quickstart"> everything you can do within the CLI.</a>

Ok, but I already knew all that!

Ok, now what's new is that we packaged Clever Tools for Windows, GNU/Linux and MacOS.

But why is that a big deal?

Before that, you had to download and install node and npm to install <code>clever tools</code>. Now it's over, it's all packaged in a binary and very easy to setup.
<h2 id="how-to-install-on-macos">How to install on MacOS?</h2>
Clever Tools is packaged using <a href="https://brew.sh/">Homebrew</a>:
<pre><code class="language-bash">brew install CleverCloud/tap/clever-tools
</code></pre>
If you don't want to use <code>brew</code>, a pre-compiled version is available: <a href="https://clever-tools.cellar.services.clever-cloud.com/releases/0.9.0/clever-tools-0.9.0_macos.tar.gz">clever-tools-0.9.0_macos.tar.gz</a>. You need to put both files (<code>clever</code> and <code>nodegit.node</code>) in your <code>PATH</code> to use the application.
<h3 id="autocompletion">Autocompletion</h3>
Clever Tools comes with a comprehensive auto-completion system. The brew package installs it automatically (for <code>bash</code> and <code>zsh</code>). Make sure <code>bash-completions</code> or <code>zsh-completions</code> are properly set up.
<pre><code class="language-bash"># In ~/.bash_profile
./usr/local/etc/bash_completion

# In ~/.zshrc
fpath=(/usr/local/share/zsh-completions $fpath)
</code></pre>
<a href="https://www.clever.cloud/developers/clever-tools/getting_started/#macos">Documentation</a>.
<h2 id="how-to-install-on-windows">How to install on Windows?</h2>
Clever Tools is packaged using <a href="https://chocolatey.org/">Chocolatey</a>:
<pre><code class="language-bash">choco install clever-tools
</code></pre>
If you don't want to use <code>chocolatey</code>, a pre-compiled version is available: <a href="https://clever-tools.cellar.services.clever-cloud.com/releases/0.9.0/clever-tools-0.9.0_windows.zip">clever-tools-0.9.0_windows.zip</a>. You need to add both files (<code>clever.exe</code> and <code>nodegit.node</code>) to your <code>PATH</code> to use the application.

<a href="https://www.clever.cloud/developers/clever-tools/getting_started/#windows">Documentation</a>.
<h2 id="for-gnulinux">For GNU/Linux</h2>
Now what, we are still hesitating on the distributions to package it for. We would like to have your feedback on that. Feel free to give your point of view in the comments below are by email @ <a href="mailto:support@clever-cloud.com">support@clever-cloud.com</a>. Also, if someone wants to manage a PPA, that would be great.

A pre-compiled version is available: <a href="https://clever-tools.cellar.services.clever-cloud.com/releases/0.9.0/clever-tools-0.9.0_linux.tar.gz">clever-tools-0.9.0_linux.tar.gz</a>. You need to add both files (clever and nodegit.node) to your <code>PATH</code> to use the application.
<h3 id="autocompletion-1">Autocompletion</h3>
Clever Tools comes with a comprehensive auto-completion system, this is one way to install it:
<pre><code class="language-bash"># for bash
clever --bash-autocomplete-script $(which clever) | sudo tee /usr/share/bash-completion/completions/clever

# for zsh
clever --zsh-autocomplete-script $(which clever) | sudo tee /usr/share/zsh/site-functions
</code></pre>
<h3 id="in-case-of-libcurl-version-mismatch">In case of libcurl version mismatch</h3>
On some distributions (eg. archlinux), a <code>libcurl</code> version mismatch between the system default and the expected version can happen. If you see <code>Error: /usr/lib/libcurl.so.4: version 'CURL_OPENSSL_3' not found (required by /usr/bin/nodegit.node)</code> in the logs, you can fix the issue by using a compatible libcurl version:
<pre><code class="language-bash"># install libcurl-compat
pacman -S libcurl-compat # on archlinux

# add an alias to start clever tools with a compatible libcurl version
alias clever='LD_PRELOAD=libcurl.so.3 clever'
</code></pre>
<h3 id="manual-installation-advanced">Manual installation (advanced)</h3>
Even though we provide packaged versions, you can still install Clever Tools with npm: <code>npm install -g clever-tools</code>.

You can also install it from <a href="https://github.com/CleverCloud/clever-tools">source</a>.
<h2 id="thats-all-folks">That's all folks!</h2>
We hope you will enjoy these improvements and use more Clever Tools.

As always, feel free to contact us for any feedback. Have a look at the <a href="https://github.com/CleverCloud/clever-tools/issues">open issues</a>.]]></description>
										<content:encoded><![CDATA[<p><img width="1440" height="540" src="https://cdn.clever-cloud.com/uploads/2021/08/clever-cli-packaged-1.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="clever cli packaged 1" decoding="async" srcset="https://cdn.clever-cloud.com/uploads/2021/08/clever-cli-packaged-1.png 1440w, https://cdn.clever-cloud.com/uploads/2021/08/clever-cli-packaged-1-300x113.png 300w, https://cdn.clever-cloud.com/uploads/2021/08/clever-cli-packaged-1-1024x384.png 1024w, https://cdn.clever-cloud.com/uploads/2021/08/clever-cli-packaged-1-768x288.png 768w, https://cdn.clever-cloud.com/uploads/2021/08/clever-cli-packaged-1-1368x513.png 1368w" sizes="(max-width: 1440px) 100vw, 1440px" /></p>We have packaged the Clever Tools CLI for Windows, MacOs &amp; GNU/Linux. This makes it way easier to setup. Discover how to do it for these platforms.

<span id="more-2901"></span>
<h2 id="clever-tools-should-better-be-called-clever-cool">Clever Tools should better be called Clever Cool</h2>
First of all, what is Clever Tools? Ok, basically it's all what you can do in the <a href="https://api.clever-cloud.com/v2/sessions/login/">console.clever-cloud.com</a> web UI but through a command line tool.

How is that awesome?

Well, it is. For most of our users, going back and forth in the web console is slowing their development workflow. Even if the web console is indispensable for people more comfortable with it, we wanted our users to be able to exactly to do the same in both. By the way, did you know you can also use the API to do everything?

Anyway, the cool part with Clever Tools is that you stay in the comfy shell. You can use Clever Tools along with vim, git and even grep. That's pretty handy to manage logs for instance.

Earlier this year, we released <a href="https://www.clever.cloud/blog/features/2017/02/09/clever-tools-release/">new features in the CLI 0.7.0</a> such as fine-grained access to logs, ssh into a running instance for debugging purposes (eg. list files, view logs locally,...)

So here is a short review of whay you can do:
<pre><code class="language-bash"># Deploying on the production server
$ clever deploy --alias prod
# Displaying the (live-updated) status of an app
$ clever activity --follow --alias preprod
# Show the logs
$ clever logs
# Create a free plan PG addon named my-addon in the Montreal zone
$ clever addon create postgresql-addon my-addon-pg --plan dev --region mtl
# Create a node.js app named my-app-dev in the Paris zone
$ clever create my-app-dev --type node --alias dev --region par
</code></pre>
But you can also set notifications, start and stop your apps... well, as we said: everything!

If you want to dig it a bit more, you will find<a href="https://www.clever.cloud/developers/doc/quickstart"> everything you can do within the CLI.</a>

Ok, but I already knew all that!

Ok, now what's new is that we packaged Clever Tools for Windows, GNU/Linux and MacOS.

But why is that a big deal?

Before that, you had to download and install node and npm to install <code>clever tools</code>. Now it's over, it's all packaged in a binary and very easy to setup.
<h2 id="how-to-install-on-macos">How to install on MacOS?</h2>
Clever Tools is packaged using <a href="https://brew.sh/">Homebrew</a>:
<pre><code class="language-bash">brew install CleverCloud/tap/clever-tools
</code></pre>
If you don't want to use <code>brew</code>, a pre-compiled version is available: <a href="https://clever-tools.cellar.services.clever-cloud.com/releases/0.9.0/clever-tools-0.9.0_macos.tar.gz">clever-tools-0.9.0_macos.tar.gz</a>. You need to put both files (<code>clever</code> and <code>nodegit.node</code>) in your <code>PATH</code> to use the application.
<h3 id="autocompletion">Autocompletion</h3>
Clever Tools comes with a comprehensive auto-completion system. The brew package installs it automatically (for <code>bash</code> and <code>zsh</code>). Make sure <code>bash-completions</code> or <code>zsh-completions</code> are properly set up.
<pre><code class="language-bash"># In ~/.bash_profile
./usr/local/etc/bash_completion

# In ~/.zshrc
fpath=(/usr/local/share/zsh-completions $fpath)
</code></pre>
<a href="https://www.clever.cloud/developers/clever-tools/getting_started/#macos">Documentation</a>.
<h2 id="how-to-install-on-windows">How to install on Windows?</h2>
Clever Tools is packaged using <a href="https://chocolatey.org/">Chocolatey</a>:
<pre><code class="language-bash">choco install clever-tools
</code></pre>
If you don't want to use <code>chocolatey</code>, a pre-compiled version is available: <a href="https://clever-tools.cellar.services.clever-cloud.com/releases/0.9.0/clever-tools-0.9.0_windows.zip">clever-tools-0.9.0_windows.zip</a>. You need to add both files (<code>clever.exe</code> and <code>nodegit.node</code>) to your <code>PATH</code> to use the application.

<a href="https://www.clever.cloud/developers/clever-tools/getting_started/#windows">Documentation</a>.
<h2 id="for-gnulinux">For GNU/Linux</h2>
Now what, we are still hesitating on the distributions to package it for. We would like to have your feedback on that. Feel free to give your point of view in the comments below are by email @ <a href="mailto:support@clever-cloud.com">support@clever-cloud.com</a>. Also, if someone wants to manage a PPA, that would be great.

A pre-compiled version is available: <a href="https://clever-tools.cellar.services.clever-cloud.com/releases/0.9.0/clever-tools-0.9.0_linux.tar.gz">clever-tools-0.9.0_linux.tar.gz</a>. You need to add both files (clever and nodegit.node) to your <code>PATH</code> to use the application.
<h3 id="autocompletion-1">Autocompletion</h3>
Clever Tools comes with a comprehensive auto-completion system, this is one way to install it:
<pre><code class="language-bash"># for bash
clever --bash-autocomplete-script $(which clever) | sudo tee /usr/share/bash-completion/completions/clever

# for zsh
clever --zsh-autocomplete-script $(which clever) | sudo tee /usr/share/zsh/site-functions
</code></pre>
<h3 id="in-case-of-libcurl-version-mismatch">In case of libcurl version mismatch</h3>
On some distributions (eg. archlinux), a <code>libcurl</code> version mismatch between the system default and the expected version can happen. If you see <code>Error: /usr/lib/libcurl.so.4: version 'CURL_OPENSSL_3' not found (required by /usr/bin/nodegit.node)</code> in the logs, you can fix the issue by using a compatible libcurl version:
<pre><code class="language-bash"># install libcurl-compat
pacman -S libcurl-compat # on archlinux

# add an alias to start clever tools with a compatible libcurl version
alias clever='LD_PRELOAD=libcurl.so.3 clever'
</code></pre>
<h3 id="manual-installation-advanced">Manual installation (advanced)</h3>
Even though we provide packaged versions, you can still install Clever Tools with npm: <code>npm install -g clever-tools</code>.

You can also install it from <a href="https://github.com/CleverCloud/clever-tools">source</a>.
<h2 id="thats-all-folks">That's all folks!</h2>
We hope you will enjoy these improvements and use more Clever Tools.

As always, feel free to contact us for any feedback. Have a look at the <a href="https://github.com/CleverCloud/clever-tools/issues">open issues</a>.]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
