1
0

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 1 year has passed since last update.

brewでecrmをインストール

Posted at

とても良さそうなので検証も兼ねて使ってみる

環境

  • MacBook Pro(2020) intelチップ
  • MacOS Monterey v12.3.1
  • Homebrew 4.0.16

インストール

kayac/tap の方ではなく、fujiwara/tapの方なのでリポジトリを指定してインストールする

brew search fujiwara/tap
==> Formulae
fujiwara/tap/aswrap                     fujiwara/tap/ecsta                      fujiwara/tap/lambroll                   fujiwara/tap/maws-cli                   fujiwara/tap/rin                        fujiwara/tap/stretcher
fujiwara/tap/cloudwatch-to-mackerel     fujiwara/tap/fluent-agent-hydra         fujiwara/tap/macaroni                   fujiwara/tap/nssh                       fujiwara/tap/sailtrim                   fujiwara/tap/tfstate-lookup
fujiwara/tap/ecrm                       fujiwara/tap/kinesis-tailf              fujiwara/tap/maprobe                    fujiwara/tap/riex                       fujiwara/tap/sardine                    fujiwara/tap/tracer

brew install fujiwara/tap/ecrm
==> Fetching fujiwara/tap/ecrm
==> Downloading https://github.com/fujiwara/ecrm/releases/download/v0.3.3/ecrm_0.3.3_darwin_amd64.tar.gz
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/395700951/d6c446a3-7d84-4586-b4a3-34f7528801a0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230502%2Fus-east-1%2
######################################################################################################################################################################################################################################### 100.0%
==> Installing ecrm from fujiwara/tap

🍺  /usr/local/Cellar/ecrm/0.3.3: 6 files, 14.4MB, built in 9 seconds
==> Running `brew cleanup ecrm`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

インストールできた

NAME:
   ecrm - A command line tool for managing ECR repositories

USAGE:
   ecrm [global options] command [command options] [arguments...]

VERSION:
   0.3.3

COMMANDS:
   delete    Scan ECS/Lambda resources and delete unused ECR images.
   generate  Genarete ecrm.yaml
   plan      Scan ECS/Lambda resources and find unused ECR images to delete safety.
   help, h   Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --config FILE, -c FILE  Load configuration from FILE (default: "ecrm.yaml") [$ECRM_CONFIG]
   --format value          plan output format (table, json) (default: "table") [$ECRM_FORMAT]
   --log-level value       Set log level (debug, info, notice, warn, error) (default: "info") [$ECRM_LOG_LEVEL]
   --no-color              Whether or not to color the output (default: false) [$ECRM_NO_COLOR]
   --help, -h              show help (default: false)
   --version, -v           print the version (default: false)

1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?