<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [bitburner](./bitburner.md) > [Hacknet](./bitburner.hacknet.md) > [numNodes](./bitburner.hacknet.numnodes.md) ## Hacknet.numNodes() method Get the number of hacknet nodes you own. <b>Signature:</b> ```typescript numNodes(): number; ``` <b>Returns:</b> number number of hacknet nodes. ## Remarks RAM cost: 0 GB Returns the number of Hacknet Nodes you own.