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

# SDK Access

> Get access to stackr-js npm package

<Info>
  `@stackr/stackr-js` package is currently access-listed and is not available
  for public use. If you want to try it out, please contact us at
  [gm@stackrlabs.xyz](mailto:gm@stackrlabs.xyz)
</Info>

### Stackr Hackerhouse participants

Fill up [this](https://forms.gle/Bw6Roi6mkihMG2GA9) form to get added to Stackr's developer preview track and get access.

### Generate NPM access token

1. Login to your npm account
2. Click on your profile picture on the top right corner and select `Access Tokens`
3. Click on `Generate New Token` and select `Classic Token`
4. Enter a name for your token and select `Read only` under `Permissions`
5. Click on `Create Token` and copy the generated token

Make sure you are added to the Stackr's NPM Org before continuing.

### Add package scope to your bun config

Create `bunfig.toml` in your root

```bash theme={null}
touch ~/.bunfig.toml
```

edit the `.bunfig.toml` file and add the following lines

```toml theme={null}
[install.scopes]
"@stackr" = { token = "<GENERATED_TOKEN>", url = "https://registry.npmjs.com/" }
```

Refer bun's documentation for more - [Scopes and registries](https://bun.sh/docs/install/registries)

### Uninstalling Stackr-CLI

In case you want to remove the stackr CLI from your system,
(the only case being you want to install a fresh setup 😤),
you can do so by running the following command

```bash theme={null}
rm -rf ~/.stackr
```
