← Back to Registry
f

file

Detect file types.

Category
Software
Status
Available
Docs
Guide

1. Install

npm install @agentos-software/file

2. Add to agentOS

Register it with your VM's software: [] so its commands are available inside the VM.

import { agentOS, setup } from "@rivet-dev/agentos";
import file from "@agentos-software/file";

// Add the package to your VM's software so its commands are available inside the VM
const vm = agentOS({ software: [file] });

export const registry = setup({ use: { vm } });