routeros-netinstall

Solid

MikroTik netinstall-cli for automated RouterOS device flashing. Use when: automating netinstall, writing scripts that invoke netinstall-cli, building netinstall tooling, understanding etherboot/BOOTP/TFTP protocols, working with RouterOS package files (.npk), using modescript or configure script, or when the user mentions netinstall, etherboot, or device flashing.

API & Backend 40 stars 9 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
54
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# RouterOS Netinstall This skill focuses on **official Netinstall / `netinstall-cli` behavior**. `tikoci/netinstall` is a useful wrapper and source of grounded examples, but it is only one way to drive the tool. ## What `netinstall-cli` Does Netinstall reinstalls RouterOS onto a device that has booted into **etherboot** mode. The Linux tool, `netinstall-cli`, listens for BOOTP requests and then sends the RouterOS boot image and selected `.npk` packages. Grounded behavior from MikroTik docs: - Netinstall **re-formats the system drive** - It **does not erase the RouterOS license key** - It **does not reset RouterBOOT settings** - It works over a direct **Layer 2** path using **BOOTP/DHCP ports** and **TFTP** - It requires **root / sudo** `netinstall-cli` is the Linux command-line variant. The Windows GUI exposes nearly the same core options. ## Command Syntax ```text netinstall-cli [-r] [-e] [-b] [-m [-o]] [-f] [-v] [-c] [-k <keyfile>] [-s <userscript>] [-sm <modescript>] [--mac <mac>] {-i <interface> | -a <client-ip>} [PACKAGES...] ``` ## Flags | Flag | Meaning | |---|---| | `-r` | Reinstall and apply the default-configuration stage | | `-e` | Reinstall with empty configuration | | `-b` | Discard the currently installed branding package | | `-m` | Enable repeated installs in one run | | `-o` | With `-m`, only reinstall a given MAC once per run; by itself it behaves like a normal single install | | `-f` | Ignore storage-size checks | | `-...

Details

Author
tikoci
Repository
tikoci/routeros-skills
Created
4 months ago
Last Updated
1 weeks ago
Language
Shell
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

API & Backend Solid

routeros-fundamentals

RouterOS v7 domain knowledge for AI agents. Use when: working with MikroTik RouterOS, writing RouterOS CLI/script commands, calling RouterOS REST API, debugging why a Linux command fails on RouterOS, or when the user mentions MikroTik, RouterOS, CHR, or /ip /system /interface paths. Scope: RouterOS 7.x (long-term and newer) only — v6 is NOT covered and accuracy for v6 problems will be low.

40 Updated 1 weeks ago
tikoci
Code & Development Solid

routeros-scripting

RouterOS scripting language and CLI configuration idioms for .rsc files and interactive commands. Use when: writing or reviewing RouterOS scripts, scheduler/netwatch/on-event snippets, idempotent CLI config, :local/:global/:foreach/:do syntax, [find] selectors, print as-value handling, script permissions, or when the user mentions .rsc, RouterOS script, scripting tips, or CLI config automation.

40 Updated 1 weeks ago
tikoci
API & Backend Solid

routeros-quickchr

Ground RouterOS config/scripts/API code against a REAL router using quickchr (@tikoci/quickchr) — a CLI + Bun/TS library that downloads, boots, and manages MikroTik CHR VMs on QEMU. Use when: validating generated RouterOS config or scripts against real RouterOS before trusting them; spinning up a disposable CHR for REST/CLI/API iteration; writing integration/lab tests against CHR; needing host↔guest networking for a CHR (port-forward, L2/MNDP capture, guest→host UDP); driving an external RouterOS tool against a live CHR. For raw QEMU/CHR boot mechanics (VirtIO, UEFI vs SeaBIOS, acceleration) without quickchr, use routeros-qemu-chr instead.

40 Updated 1 weeks ago
tikoci