# TextFSM2 > Drop-in replacement for TextFSM with a Rust core. TextFSM2 is a drop-in replacement for google/textfsm: the same API, the same results and the same exceptions, with a Rust core that parses much faster. - Install `textfsm2` from PyPI and use `import textfsm2 as textfsm`. It installs next to `textfsm`, not over it. - For libraries that `import textfsm` themselves (ntc-templates, netmiko), call `textfsm2.alias_textfsm()` once at startup, before anything imports textfsm. - It follows textfsm's main branch, except google/textfsm#151, where it keeps textfsm 2.1.1's behaviour unless `TEXTFSM_SKIP_NONPARTICIPATING_GROUPS=1`. - Template syntax is TextFSM's own: TextFSM2 adds no syntax of its own. ## Getting started - [Home](): What TextFSM2 is, installation and a first parse - [Quickstart](): Write a template, parse router output in Python and check it from the CLI ## How-to guides - [Migrate from textfsm](): Switch from textfsm, including alias_textfsm() for ntc-templates and netmiko - [Configure cache and compatibility](): Size the compiled-template cache, opt in to google/textfsm#151 behaviour, check templates in CI ## Reference - [API, CLI, and environment](): Exports, CLI entrypoints, cache controls and environment variables - [Template syntax](): TextFSM template and CliTable index syntax ## Optional - [Compatibility](): Where TextFSM2 follows textfsm main or 2.1.1, and free-threaded Python support - [How it works](): The Rust core and when it hands work back to Python - [Benchmarks](): Speed, CPU time and memory against textfsm 2.1.1