Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Reactopt | 1,970 | 4 | 5 years ago | 24 | December 07, 2017 | 9 | JavaScript | |||
A CLI React performance optimization tool that identifies potential unnecessary re-rendering | ||||||||||
Erdtree | 1,241 | a day ago | 9 | mit | Rust | |||||
A modern, multi-threaded file-tree visualization and disk usage analysis tool that respects hidden file and gitignore rules. | ||||||||||
Tio | 1,196 | 11 days ago | 4 | April 11, 2019 | 3 | other | C | |||
A simple serial device I/O tool | ||||||||||
Socli | 1,067 | 7 days ago | 61 | September 18, 2021 | 10 | bsd-3-clause | Python | |||
Stack overflow command line client. Search and browse stack overflow without leaving the terminal :computer: | ||||||||||
Cli | 832 | 7 days ago | 60 | July 13, 2022 | 12 | mit | Go | |||
A command-line interface for Hetzner Cloud | ||||||||||
Py_cui | 652 | 8 | 6 months ago | 8 | October 29, 2021 | 45 | bsd-3-clause | Python | ||
A python library for intuitively creating CUI/TUI interfaces with widgets, inspired by gocui. | ||||||||||
Cutie | 295 | 7 | 6 months ago | 16 | November 17, 2018 | 5 | mit | Python | ||
Command line User Tools for Input Easification | ||||||||||
Node Cmd | 261 | 1,005 | 714 | a year ago | 11 | July 29, 2021 | 6 | mit | JavaScript | |
Simple commandline interface to allow you to run cli or bash style commands as if you were in the terminal. | ||||||||||
Cleye | 241 | 25 | 2 months ago | 8 | November 12, 2022 | 2 | mit | TypeScript | ||
👁🗨 cleye — The intuitive & typed CLI development tool for Node.js | ||||||||||
Consolebundle | 137 | 237 | 10 | 8 months ago | 6 | February 22, 2017 | 21 | bsd-3-clause | PHP | |
Commandline interface in browser for Symfony2 |
hcloud
is a command-line interface for interacting with Hetzner Cloud.
You can download pre-built binaries for Linux, FreeBSD, macOS, and Windows on the releases page.
On macOS and Linux, you can install hcloud
via Homebrew:
brew install hcloud
On Windows, you can install hcloud
via Scoop
scoop install hcloud
There are unofficial packages maintained by third-party users. Please note that these packages arent supported nor maintained by Hetzner Cloud and may not always be up-to-date. Downloading the binary or building from source is still the recommended install method.
If you have Go installed, you can build and install the latest version of
hcloud
with:
go install github.com/hetznercloud/cli/cmd/[email protected]
Binaries built in this way do not have the correct version embedded. Use our prebuilt binaries or check out
.goreleaser.yml
to learn how to embed it yourself.
Visit the Hetzner Cloud Console at console.hetzner.cloud, select your project, and create a new API token.
Configure the hcloud
program to use your token:
hcloud context create my-project
Youre ready to use the program. For example, to get a list of available server types, run:
hcloud server-type list
See hcloud help
for a list of commands.
hcloud
provides completions for various shells.
To load completions into the current shell execute:
source <(hcloud completion bash)
In order to make the completions permanent, append the line above to
your .bashrc
.
If shell completions are not already enabled for your environment need
to enable them. Add the following line to your ~/.zshrc
file:
autoload -Uz compinit; compinit
To load completions for each session execute the following commands:
mkdir -p ~/.config/hcloud/completion/zsh
hcloud completion zsh > ~/.config/hcloud/completion/zsh/_hcloud
Finally, add the following line to your ~/.zshrc
file, before you
call the compinit
function:
fpath+=(~/.config/hcloud/completion/zsh)
In the end your ~/.zshrc
file should contain the following two lines
in the order given here.
fpath+=(~/.config/hcloud/completion/zsh)
# ... anything else that needs to be done before compinit
autoload -Uz compinit; compinit
# ...
You will need to start a new shell for this setup to take effect.
To load completions into the current shell execute:
hcloud completion fish | source
In order to make the completions permanent execute once:
hcloud completion fish > ~/.config/fish/completions/hcloud.fish
To load completions into the current shell execute:
PS> hcloud completion powershell | Out-String | Invoke-Expression
To load completions for every new session, run and source this file from your PowerShell profile.
PS> hcloud completion powershell > hcloud.ps1
You can control output via the -o
option:
For list
commands, you can specify -o noheader
to omit the table header.
For list
commands, you can specify -o columns=id,name
to only show certain
columns in the table.
For describe
commands, you can specify -o json
to get a JSON representation
of the resource. The schema is identical to those in the Hetzner Cloud API which
are documented at docs.hetzner.cloud.
For describe
commands, you can specify -o format={{.ID}}
to format output
according to the given Go template.
The templates input is the resources corresponding struct in the
hcloud-go library.
You can use the following environment variables to configure hcloud
:
HCLOUD_TOKEN
HCLOUD_CONTEXT
HCLOUD_CONFIG
When using hcloud
in scripts, for example, it may be cumbersome to work with
contexts. Instead of creating a context, you can set the token via the HCLOUD_TOKEN
environment variable. When combined with tools like direnv, you
can configure a per-directory context by setting HCLOUD_CONTEXT=my-context
via .envrc
.
$ hcloud server list
ID NAME STATUS IPV4
210216 test1 running 78.46.122.12
210729 ubuntu-8gb-nbg1-dc3-1 running 94.130.177.158
$ hcloud server create --name test --image debian-9 --type cx11 --ssh-key demo
7s [====================================================================] 100%
Server 325211 created
MIT license