LoginSignup
42
25

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使えるようになった。

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