43
25

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.

viコマンド(vim)をインストールする方法

Posted at

docker+ubuntuという環境で開発していたら、viコマンドが使えなかった。

root@a8dafc8c2920:/home/ubuntu/# vi hoge.json
bash: vi: command not found

そもそもvi(vim)が入っていないらしい。。。
ということで以下のコマンドでvimをインストールをすると使えるようになる。

apt-get update
apt-get install vim

これで無事にvim使えるようになった。

43
25
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
43
25

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?