← ClaudeAtlas

routeros-netinstalllisted

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.
tikoci/routeros-skills · ★ 18 · API & Backend · score 81
Install: claude install-skill tikoci/routeros-skills
# 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 | | `-