JamesClonk / Vultr
Licence: mit
🐧 Vultr CLI and API client library
Stars: ✭ 357
Programming Languages
go
31211 projects - #10 most used programming language
Labels
Projects that are alternatives of or similar to Vultr
Vmcli
A set of utilities (vmcli + vmctl) for macOS Virtualization.framework
Stars: ✭ 571 (+59.94%)
Mutual labels: cli, virtual-machine
Lexicon
Manipulate DNS records on various DNS providers in a standardized way.
Stars: ✭ 1,028 (+187.96%)
Mutual labels: vultr, cli
Image Bootstrap
⛅️ Creates (chroots and) bootable virtual machine images; command line tool (Python 3)
Stars: ✭ 178 (-50.14%)
Mutual labels: cli, virtual-machine
Docker Machine Vultr
Ⓜ️ Docker Machine driver for Vultr Cloud
Stars: ✭ 185 (-48.18%)
Mutual labels: vultr, virtual-machine
Firectl
firectl is a command-line tool to run Firecracker microVMs
Stars: ✭ 192 (-46.22%)
Mutual labels: cli, virtual-machine
Vultr Cli
Official command line tool for Vultr services
Stars: ✭ 235 (-34.17%)
Mutual labels: vultr, cli
Hygen
The simple, fast, and scalable code generator that lives in your project.
Stars: ✭ 4,107 (+1050.42%)
Mutual labels: cli
Haul
Haul is a command line tool for developing React Native apps, powered by Webpack
Stars: ✭ 3,581 (+903.08%)
Mutual labels: cli
Simple.vm
Simple virtual machine which inteprets bytecode.
Stars: ✭ 346 (-3.08%)
Mutual labels: virtual-machine
Reminders Cli
A simple CLI for interacting with macOS reminders
Stars: ✭ 354 (-0.84%)
Mutual labels: cli
Syncpack
Manage multiple package.json files, such as in Lerna Monorepos and Yarn/Pnpm Workspaces
Stars: ✭ 356 (-0.28%)
Mutual labels: cli
Taskwarrior Tui
`taskwarrior-tui`: A terminal user interface for taskwarrior
Stars: ✭ 339 (-5.04%)
Mutual labels: cli
Colorls
A Ruby gem that beautifies the terminal's ls command, with color and font-awesome icons. 🎉
Stars: ✭ 3,896 (+991.32%)
Mutual labels: cli
Hues
Colored terminal text made easy for Python and happiness.
Stars: ✭ 345 (-3.36%)
Mutual labels: cli
Gandi.cli
command line interface to Gandi.net products using the public API
Stars: ✭ 349 (-2.24%)
Mutual labels: cli
Compose Cli
Easily run your Compose application to the cloud with compose-cli
Stars: ✭ 353 (-1.12%)
Mutual labels: cli
vultr
Vultr CLI and API client library, written in Go
Screenshot
Everybody likes screenshots, even of command line tools.. 😄
Installation
- Download the latest release for your OS: https://github.com/JamesClonk/vultr/releases
- Unzip the file
- Place the vultr binary somewhere into your PATH
- Export your Vultr API key into a VULTR_API_KEY env variable. You can get the API key from the admin panel
$ export VULTR_API_KEY=87dFbC91rJjkL/18zJEQxS
- Run it
$ vultr version
Client version: 2.0.3
Vultr API endpoint: https://api.vultr.com/
Vultr API version: v1
OS/Arch (client): linux/amd64
Go version: go1.16
brew
Installation via Homebrew users can install by:
$ brew install vultr
Installation from source
- Install the latest version of Go
- Make sure your GOPATH is set
- Add $GOPATH/bin to your PATH
- Use "go get" to download, compile and install the source
$ go get github.com/JamesClonk/vultr
- Export your Vultr API key into a VULTR_API_KEY env variable. You can get the API key from the admin panel
$ export VULTR_API_KEY=89dFbb91rGjkL/12zJEQxS
- Run it
$ vultr version
Client version: 2.0.3
Vultr API endpoint: https://api.vultr.com/
Vultr API version: v1
OS/Arch (client): linux/amd64
Go version: go1.16
Usage
Vultr CLI is a command line tool for using the Vultr API. It allows you to create and manage your virtual machines, SSH public keys, snapshots and startup scripts on your Vultr account. You can also use it to directly SSH into a Vultr virtual machine through the vultr ssh command.
Here a some usage examples:
show help text for a command
$ vultr snapshot --help
Usage: vultr snapshot COMMAND [arg...]
modify snapshots
Commands:
create create a snapshot from an existing virtual machine
delete delete a snapshot
list list all snapshots on current account
Run 'vultr snapshot COMMAND --help' for more information on a command
list available plans for region
$ vultr plans -r 9
VPSPLANID NAME VCPU RAM DISK BANDWIDTH PRICE
30 1024 MB RAM,20 GB SSD,2.00 TB BW 1 1024 20 2.00 7.00
29 768 MB RAM,15 GB SSD,1.00 TB BW 1 768 15 1.00 5.00
3 2048 MB RAM,40 GB SSD,3.00 TB BW 2 2048 40 3.00 15.00
28 8192 MB RAM,120 GB SSD,5.00 TB BW 4 8192 120 5.00 70.00
27 4096 MB RAM,65 GB SSD,4.00 TB BW 2 4096 65 4.00 35.00
add SSH public key
$ vultr sshkey create -n sampleKey --key="$(cat ~/.ssh/id_rsa.pub)"
SSH key create success!
SSHKEYID NAME KEY
24c81f53be692 sampleKey ssh-rsa AAAB3NzaC1yc2EQABAQClpsNAM+huOB2dpxM..
create new virtual machine
$ vultr server create -n "test-server" -r 9 -p 29 -o 127
Virtual machine create success!
SUBID NAME DCID VPSPLANID OSID
1685097 test-server 9 29 127
show information about virtual machine
$ vultr server show 1685097
Id (SUBID): 1685097
Name: test-server
Operating system: CentOS 6 x64
Status: active
Power status: running
Location: Frankfurt
Region (DCID): 9
VCPU count: 1
RAM: 768 MB
Disk: Virtual 15 GB
Allowed bandwidth: 1000
Current bandwidth: 0
Cost per month: 5.00
Pending charges: 0.01
Plan (VPSPLANID): 29
IP: 107.62.131.240
Netmask: 255.255.254.0
Gateway: 107.62.131.1
Internal IP:
#1 IPv6 IP:
#1 IPv6 Network: ::
#1 IPv6 Network Size: 0
Created date: 2015-02-08 12:36:36
Default password: sbiecxo8yk!5
Auto backups: no
KVM URL: https://my.vultr.com/subs/vps/novnc/api.php?data=ILXS..
SSH into virtual machine
$ vultr ssh 1685097
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-37-generic x86_64)
* Documentation: https://help.ubuntu.com/
Last login: Thu Oct 16 21:49:35 2014 from 10.0.2.2
[email protected]:~#
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].