Firefly
Loading artwork…

Hosts lines

Copy these two lines

Paste both lines at the end of /etc/hosts in nano.

202.10.44.189 www.growtopia1.com
202.10.44.189 www.growtopia2.com
App
Terminal
Permission
Mac administrator password
Game app
Growtopia stays installed
Guide updated
July 2026

Setup

Add Firefly with nano.

Commands are shown before their Copy buttons so you can inspect exactly what Terminal will run.

  1. Open Terminal

    Open Finder → Applications → Utilities → Terminal, or search for Terminal with Spotlight.

  2. Back up the current hosts file

    Run this first so you can restore the original file if needed.

    sudo cp /etc/hosts /etc/hosts.firefly-backup

    When sudo asks for your password, type your Mac login password and press Return. Terminal does not show password characters while you type.

  3. Open the hosts file in nano
    sudo nano /etc/hosts
  4. Paste the two Firefly lines

    Move to the bottom of the file and paste both lines from the box above. Do not delete existing lines.

  5. Save and exit nano

    Press Control+O, then Return to save. Press Control+X to exit. Use the Control key, not Command.

  6. Flush the macOS DNS cache
    sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
  7. Open Growtopia

    Fully close any running Growtopia window, launch it again, and sign in.

Finish and undo

Confirm the result.

You are connected when

Growtopia opens the Firefly server after nano saves successfully and the DNS cache is flushed.

To restore your backup

Run the restore command below, flush DNS again, and reopen Growtopia.

sudo cp /etc/hosts.firefly-backup /etc/hosts

Troubleshooting

Common Terminal problems.

  • Password looks blank: this is normal in Terminal. Type it and press Return.
  • Permission denied: confirm the command starts with sudo and the account can administer the Mac.
  • Still official server: reopen /etc/hosts, verify both lines, save, flush DNS again, and restart Growtopia.
Player inside a Firefly Growtopia world

After setup

Close Terminal and open Growtopia.

This is a Firefly gameplay preview, not a Terminal screenshot. Reaching a Firefly world after the DNS flush confirms the hosts change is active.

Terminal returned an error?

Send the command that failed and its error text. Do not send your Mac password.

Back to all platform guides
Ask on Discord

Installation guides

Where do you play?

Pick the device that runs Growtopia. The full guide opens next.

AndroidFirefly ConnectorNo root required WindowsHosts fileAdministrator access iPhone and iPadSurge 5 profileiOS 16 or later macOSTerminal hosts fileAdministrator password