> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fly.io/llms.txt
> Use this file to discover all available pages before exploring further.

# fly sprites use

Write a .sprite file in the current directory that names a sprite and its
organization. Other sprites commands run in this directory, or below it, use
that sprite when --sprite is not passed.

The file is the same one the standalone sprite CLI reads and writes.

## Usage

```
fly sprites use [flags] [sprite-name]
```

## Options

```
  -h, --help            help for use
  -j, --json            JSON output
  -o, --org string      The target Fly.io organization
  -s, --sprite string   The target sprite. Defaults to the one set with 'fly sprites use'
      --unset           Remove the .sprite file from the current directory
```

## Global Options

```
  -t, --access-token string   Fly.io API token to use, overriding FLY_ACCESS_TOKEN, FLY_API_TOKEN and the saved login
      --debug                 Print additional logs and traces
      --verbose               Verbose output
```

## See Also

* [fly sprites](https://docs.fly.io/flyctl/cmd/fly_sprites)	 - Manage Sprites: persistent Linux environments for development and agents
