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 5 years have passed since last update.

Macのバージョンをコマンドラインで確認する

Last updated at Posted at 2019-06-22

Macバージョン確認方法

Qiitaを書く時に環境情報をいつも記載しているのですが、
Macバージョンをいつもどうやってみるのか忘れてしまうのでメモとして書きます。

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.14.5
BuildVersion:   18F132

ちなみに

  • Python
$ python -V
Python 3.7.1
  • Docker
$ docker --version
Docker version 18.09.2, build 6247962
  • Git
$ git --version
git version 2.20.1 (Apple Git-117)
  • Redhat系
$ cat /etc/redhat-release

--versionでだいたい出てくる。

1
0
4

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?