https://github.com/sacloud/usacloud
usacloud:rabbit: : CLI client for the Sakura Cloud:cherry_blossom::cloud:
https://github.com/sacloud/usacloud
cli sakuracloud usacloud
Last synced: about 1 year ago
JSON representation
usacloud:rabbit: : CLI client for the Sakura Cloud:cherry_blossom::cloud:
- Host: GitHub
- URL: https://github.com/sacloud/usacloud
- Owner: sacloud
- License: apache-2.0
- Created: 2017-01-30T07:05:10.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2025-01-08T00:46:02.000Z (over 1 year ago)
- Last Synced: 2025-04-03T03:09:07.111Z (about 1 year ago)
- Topics: cli, sakuracloud, usacloud
- Language: Go
- Homepage:
- Size: 17 MB
- Stars: 58
- Watchers: 7
- Forks: 14
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Authors: AUTHORS
Awesome Lists containing this project
README
# Usacloud

[`usacloud`](https://github.com/sacloud/usacloud)は[さくらのクラウド](http://cloud.sakura.ad.jp/index.html)用の公式CLIクライアントです。

[](https://discord.gg/yUEDN8hbMf)
[](LICENSE.txt)
[](https://github.com/sacloud/usacloud/releases/latest)

[](https://docs.usacloud.jp/usacloud)
## Installation / インストール
[Documents: https://docs.usacloud.jp/usacloud/installation/start_guide](https://docs.usacloud.jp/usacloud/installation/start_guide)
### Quick Start
- [GitHub Releases](https://github.com/sacloud/usacloud/releases/latest)から自身のプラットフォーム向けのファイルをダウンロード&展開
- [さくらのクラウド ドキュメント: APIキーの新規作成・編集](https://manual.sakura.ad.jp/cloud/api/apikey.html#id3) を参照してAPIキーを作成
- `usacloud profile`コマンドでAPIキーを設定
## Usage / 基本的な使い方
コマンドは以下の書式で指定します。
usacloud <リソース> <サブコマンド> [オプション] [対象リソースのID or 名前(部分一致) or タグ]
リソースやサブコマンド、オプションは`usacloud -h`、`usacloud <リソース名> -h`、または`usacloud <リソース名> <サブコマンド> -h`で確認できます。
#### コマンドの例
```bash
# 全ゾーンのサーバ一覧を取得
$ usacloud server list --zone=all
# 石狩第1ゾーンで名前に"example-"を含むサーバをすべてシャットダウン(オプションの位置は引数の後ろでもOK)
$ usacloud server shutdown "example-" --zone=is1a
```
### その他の使い方
Usacloud ドキュメントを参照してください。
> [Usacloud ドキュメント](https://docs.usacloud.jp/usacloud)
### コマンド一覧
```shell
usacloud -h
CLI to manage to resources on the SAKURA Cloud
Available Commands:
=== Configuration ===
config
=== Authentication ===
auth-status
=== Computing ===
private-host
server
=== Storage ===
archive
auto-backup
cdrom
disk
=== Networking ===
bridge
internet
local-router
packet-filter
switch
=== Networking(SubResources) ===
interface
ipaddress
ipv6addr
ipv6net
subnet
=== Appliance ===
database
load-balancer
nfs
vpc-router
=== SecureMobile ===
mobile-gateway
sim
=== Common service items ===
dns
gslb
proxy-lb
simple-monitor
=== Billing ===
bill
coupon
=== Lab ===
container-registry
esme
=== WebAccelerator ===
web-accelerator
=== Other services ===
icon
license
note
ssh-key
=== Region/Zone information ===
region
zone
=== Service/Product information ===
disk-plan
internet-plan
license-info
private-host-plan
server-plan
service-class
=== Other commands ===
rest
self
completion Generate completion script
```
## License
`usacloud` Copyright (C) 2017-2025 The Usacloud Authors.
This project is published under [Apache 2.0 License](LICENSE.txt).