Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
10
Help us understand the problem. What is going on with this article?

More than 1 year has passed since last update.

@shimajiri

よく使うバージョン確認コマンド集

スキルシート等を書くときにバージョン確認コマンドを調べるのが、
結構手間だったので集めてみました。

Linux環境を想定していますが、
OS別などその限りではないのもあります。

言語別

Java

$ java -version

Python

$ Python -V

Flask

$ flask --version

PHP

$ php -v

Ruby

$ ruby -v

Ruby on Rails

$ rails -v

Perl

$ perl -v

ミドルウェア別

Apache

$ https -V

Nginx

$ nginx -V

OS別

Windows

C:\>ver

Mac OS X

$ sw_vers

Amazon Linux

cat /etc/system-release

CentOS

$ cat /etc/redhat-release

Ubuntu

$ cat /etc/lsb-release

SQL別

MySQL

$ mysql -V

PostgreSQL

$ psql —version

Oracle Database

SQL> select * from v$version;

MongoDB

$ mongo -version

SQLite

$ sqlite3 --version

ソフトウェア別

Git

$ git --version

Heroku

$ heroku --version

Vagrant

$ vagrant version

Docker

$ docker version

このコマンド追加して欲しいなどありましたら、
お気軽にコメント頂ければと思います。

10
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
10
Help us understand the problem. What is going on with this article?