5
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Treasure Dataのtdコマンドの始め方

Last updated at Posted at 2017-06-14

インストール

アカウント設定

以下、Windowsでの例

C:\Users\XXX>td account
Enter your Treasure Data credentials. For Google SSO user, please see https://docs.treasuredata.com/articles/command-line#google-sso-users
Email: XXX
Password (typing will be hidden):
Authenticated successfully.
Use 'td db:create <db_name>' to create a database.

C:\Users\XXX>type .td\td.conf
[account]
  user = XXX
  apikey = XXX

エンドポイントを指定したい(本家Treasure Dataでない)場合

C:\Users\XXX>td -e https://XXX account
~略~

C:\Users\XXX>type .td\td.conf
[account]
  user = XXX
  apikey = XXX
  endpoint = https://XXX

末尾に空行があるとTreasureData account is not configured yet.になる

5
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?