

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
Not enough gems
Cost: 6 gems
1: Package Managers
incomplete
2: Using Neovim
incomplete
3: Package Manager Review
incomplete
4: Webi
incomplete
5: Code Editors
incomplete
6: Code Editors on WSL
incomplete
This lesson's interactive features are locked, please to keep using them
A package manager is a software tool that helps you install other software. Its primary functions include:
Downloading software from official sources
Installing software
Updating software
Removing software
Managing dependencies
As a developer, you'll frequently use package managers to get access to the software you need to get your work done.
APT, or "Advanced Package Tool," is the primary package manager for Ubuntu. To be fair, you can use other package managers on Ubuntu, but APT is the default and most common.
If you're on WSL and Ubuntu, you'll be using APT. If you're on another Linux setup, I pray you already know what package manager you're using. If you're on WSL or Ubuntu, check to make sure you have APT installed by running the following command:
apt --versionThere isn't a "default" package manager for macOS. The most popular (but unofficial) package manager is Homebrew.
If you're on macOS, and you don't have Homebrew installed, you can install it by running the following command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"See the Homebrew site for more information if needed.
Let's install something! Neovim is a hyperextensible (and newer) version of Vim, a popular command line text editor.
First, make sure that apt itself is up to date and will install the latest version of Neovim. Run the following command:
sudo apt updateThis command only updates apt; it doesn't upgrade anything.
Next, install Neovim:
sudo apt install neovimIf you're using Homebrew on macOS, you can install Neovim by running the following command:
brew install neovimIf the above methods don't work, you can try other installation methods.
Let's make sure we installed it properly. Check your version:
nvim --versionPaste the entire output into the input field and submit it.