LoginSignup
3
4

More than 5 years have passed since last update.

CircleCI Local CLIをHomebrewでインストールする

Last updated at Posted at 2018-09-04

概要

表題の通りです。

CircleCIのDocsにはcurlでダウンロードする方法が書いてありますが、実はHomebrewにformulaが存在するようなので、Homebrewを用いてインストールすることもできます(2018/09/04現在)。
特に複雑な手順もないのですが、書き残しておきます。

追記(2018/09/04 11:27)

普通に以下に書いてありましたね...🙈
https://circleci.com/docs/2.0/local-cli/#alternative-installing-on-macos-via-homebrew

手順

当然ですが、brewコマンド(Homebrewを操作するコマンド)を事前に導入しておいてください。

1. Homebrewでインストールする

普通にHomebrewでコマンドをインストールします。

brew update
brew install circleci

2. circleciコマンドをアップデートする

homebrewでインストールできるコマンドは、大抵バージョンが古くなっているので、circleci updateコマンドを用いてアップデートします。

circleci update check
#=> A new release is available (0.1.1973)
#=> You are running 0.1.1430
#=> You can update with `circleci update install`

# 上記の出力に倣ってアップデート版をインストール
circleci update install

これで完了です。

参考

3
4
1

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
3
4