# Installation

Welcome to Nodepack! To get started, install the Command-Line Interface with the instruction below.

# Requirements

Nodepack currently requires the following:

# Command-Line Interface

Install the Command-Line Interface globally on your system. All official Nodepack packages are under the @nodepack scope on Npm: the CLI package is @nodepack/cli.

If you use Npm:

npm install -g @nodepack/cli

If you use Yarn:

yarn global add @nodepack/cli

To check if Nodepack CLI is correctly installed, run this command:

nodepack --version

To get help info about the CLI, use --help:

nodepack --help

# Troubleshooting

If your OS tells you nodepack is not found, make sure to have the correct PATH environment variable setup on your computer. It needs to contain the absolute path to Npm or Yarn bin folders where those tools put the runnable scripts from globally installed packages (like Nodepack CLI).

Check what the folder is with the following commands:

# If you use Npm
npm bin -g

# If you use Yarn
yarn global bin

TIP

Most of the time, after changing the environment variables on your system, you need to re-open your terminal or your IDE for it to take effect.