# Install the npm Packages

> Install the TX Sheet Control editor and Node.js server npm packages from the supplied .tgz archives in JavaScript, TypeScript, Angular and Node.js projects.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Sheet Control > Installation Guide > Install the npm Packages
- **1053 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/installation/npm/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/installation/npm/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/installation/npm/llms-full.txt

---

The two npm packages of TX Sheet Control, the editor `@txtextcontrol/tx-sheet-control` and the Node.js server `@txtextcontrol/tx-sheet-control-server`, are not published on the npm registry. They come as archives in the `npm` folder of the [download](https://docs.textcontrol.com/tx-sheet-control/installation/download/llms-full.txt), and you install them from these files with the normal `npm install` command.

| Archive | Package | Use it for |
|---|---|---|
| `txtextcontrol-tx-sheet-control-2.0.0.tgz` | `@txtextcontrol/tx-sheet-control` | The editor in JavaScript, TypeScript and Angular applications |
| `txtextcontrol-tx-sheet-control-server-2.0.0.tgz` | `@txtextcontrol/tx-sheet-control-server` | Document processing in Node.js 22 or newer |

A command such as `npm install @txtextcontrol/tx-sheet-control@2.0.0` fails with a 404 error, because npm looks for the package on the public registry.

### Add the Archive to Your Project

npm records the path of the archive in `package.json`, and every later `npm install` or `npm ci` needs the archive at that path. Keep it in the project, so that it travels with your source code to other developers and build servers:

1. Create a folder for it in your project, for example `vendor`.
2. Copy the archive from the `npm` folder of the download into it.
3. Install it from there, in the folder of your `package.json`:

    ```bash
    npm install ./vendor/txtextcontrol-tx-sheet-control-2.0.0.tgz
    ```

npm adds the package under its name, with the archive as its source:

```json
"dependencies": {
    "@txtextcontrol/tx-sheet-control": "file:vendor/txtextcontrol-tx-sheet-control-2.0.0.tgz"
}
```

Commit the archive with `package.json` and `package-lock.json`. If your repository is public, keep the archive on an internal server or in a private registry of your company instead, because it is licensed software.

You import the package by its name, as in any other project:

```javascript
import { Spreadsheet, StreamType } from '@txtextcontrol/tx-sheet-control';
```

### The Editor Package

The editor package has no dependencies. It includes the editor, its type declarations for TypeScript, fonts, language files and the Angular integration.

The editor loads its fonts at run time. Serve the package's `dist/fonts` folder as static files, for example from `node_modules/@txtextcontrol/tx-sheet-control/dist/fonts`, and set the `fontCatalogURL` option to the URL of its `catalog.json`. [Static Assets](https://docs.textcontrol.com/tx-sheet-control/deployment/static-assets/llms-full.txt) and [Font Handling](https://docs.textcontrol.com/tx-sheet-control/deployment/fonts/llms-full.txt) describe the details.

### Angular

The Angular component is part of the editor package. Install the archive of the editor package into your Angular 22 application, as described above, and import the standalone component from the `angular` entry point:

```typescript
import { TXSheetControlComponent } from '@txtextcontrol/tx-sheet-control/angular';
```

`@angular/core` and `@angular/common` 22.x are optional peer dependencies of the package: they are already part of an Angular application and are not installed for plain JavaScript applications. The [Angular tutorial](https://docs.textcontrol.com/tx-sheet-control/getting-started/spreadsheet-editor/angular/llms-full.txt) builds a first application.

### The Node.js Server Package

Install the server archive into a Node.js 22 or newer project:

```bash
npm install ./vendor/txtextcontrol-tx-sheet-control-server-2.0.0.tgz
```

The package has no dependencies and does not need the editor package or a browser. It brings its fonts and runtime files in its `dist` folder: keep them together when you deploy the application. On an older Node.js version, npm warns with `EBADENGINE`. The [Node.js processing tutorial](https://docs.textcontrol.com/tx-sheet-control/getting-started/document-processing/nodejs/llms-full.txt) builds a first application.

### Update to a New Release

Copy the archive of the new release into the `vendor` folder, install it with `npm install` as above and delete the archive of the previous release. npm updates the path in `package.json`.

### Next Steps

- [Licensing](https://docs.textcontrol.com/tx-sheet-control/deployment/licensing/#configure-the-license-before-startup): configure your license file before the editor or the server starts.
- [JavaScript tutorial](https://docs.textcontrol.com/tx-sheet-control/getting-started/spreadsheet-editor/javascript/llms-full.txt) and [TypeScript tutorial](https://docs.textcontrol.com/tx-sheet-control/getting-started/spreadsheet-editor/typescript/llms-full.txt): build a first editor application.
- [Common Issues](https://docs.textcontrol.com/tx-sheet-control/troubleshooting/common-issues/llms-full.txt): find the failed stage, from package restore to export, and fix it.

---

## Nearby

- **Previous:** [Install the NuGet Packages](https://docs.textcontrol.com/tx-sheet-control/installation/nuget/llms-full.txt)
- **Next:** [Use the Browser Files](https://docs.textcontrol.com/tx-sheet-control/installation/browser-files/llms-full.txt)
