# Use Devbox as your Primary Package Manager
Source: https://www.jetify.com/docs/docs/devbox/devbox-global/index

In addition to managing isolated development environments, you can use Devbox as a general package manager. Devbox Global allows you to add packages to a global  This is useful for installing a standard set of tools you want to use across multiple Devbox Projects.

For example — if you use ripgrep as your preferred search tool, you can add it to your global Devbox
profile with `devbox global add ripgrep`. Now whenever you start a Devbox shell, you will have
ripgrep available, even if it's not in the project's devbox.json.

<Frame>
  <img alt="Devbox global package manager" />
</Frame>

You can also use `devbox global` to replace package managers like `brew` and `apt` by adding the
global profile to your path. Because Devbox uses Nix to install packages, you can sync your global
config to install the same packages on any machine.

Devbox saves your global config in a `devbox.json` file in your home directory. This file can be
shared with other users or checked into source control to synchronize it across machines.

## Adding and Managing Global Packages[​](#adding-and-managing-global-packages "Direct link to Adding and Managing Global Packages")

You can install a package using `devbox global add [<package>]`, where the package names should be a
list of [Nix Packages](https://search.nixos.org/packages) you want to install.

For example, if we wanted to install ripgrep, vim, and git to our global profile, we could run:

```bash theme={null}
devbox global add ripgrep vim git