Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
id: f028956e14
question: How do I install vim (Vi Improved) on an Ubuntu Linux machine?
sort_order: 1
---

Install vim on Ubuntu using the following steps:

- Update your package list:
```bash
sudo apt-get update
```

- Install vim:
```bash
sudo apt-get install vim
```

- Verify the installation by checking the version:
```bash
vim --version
```

Alternatively, you can run both commands in one line:
```bash
sudo apt-get update && sudo apt-get install vim -y
```

Note: The -y flag automatically answers 'yes' to prompts during installation.