# nsc install

Install nsc to local directory

`install` places the `nsc` binary in a local directory, defaulting to
`~/.local/bin`. It's likely used internally by the shell install script
documented on the [Installation](/content/docs/reference/cli/installation.md) page,
but you can also run it directly if you already have an `nsc` binary
available and want to (re)install it to a specific location, such as when
scripting your own setup or CI image.

## Usage

```bash theme={null}
nsc install [--dir <dir>] [--quiet]
```

### Example

```bash theme={null}
nsc install --dir /usr/local/bin
```

## Options

### --dir string

Directory to install `nsc` to. Defaults to `~/.local/bin`.

### --quiet

Suppress PATH warning output. By default, `install` warns if the target
directory isn't on your `PATH`; pass this flag to silence that warning,
which is useful when running `install` from an automated script.
