The Nuclear Option (Railroad)

The Nuclear Option is a Railroad main quest and Fallout 4 achievements and trophies in Fallout 4.

Detailed walkthrough
After finishing Red Rocket's Glare, Desdemona will give you this quest. You need to enter the institute and enter the central elevator, once you get to the relay room speak to Z1-14, he will tell you to kill everyone in the relay room, after everyone in the room is dead, Desdemona, Tinker Tom and several other railroad members will teleport in, after talking to Desdemona you will need to enter the old robotics room, after passing though it you will get to the institute bioscience wing, after fighting your way though enter the institute, where you will be tasked to use Father's terminal to unlock the doors, enter father's room and use the terminal, talking to father beforehand and passing a speech test can give you a code to shut down most of the synths, after disengaging the lockdown enter the reactor room and plant the fusion charge, then you will be teleported back to the teleporter room, talk to Shaun and then leave the institute, once you get out press the button to set off the bomb and eliminate the institute forever.

Bugs

 * Teleporting into the Institute wearing a power armor helmet with the targeting HUD mod, with this quest active, makes the player partially hostile to the Institute, denying the player access to the elevator, and not spawning any Institute NPCs except Father.
 * Reloading a save from before entering the Institute, and taking off the targeting HUD mod is recommended.
 * The quest may be completable with copious abuse the of console command.
 * The player is given the option to deposit weapons for the synth rebels, however upon commencing the attack, it is evident that the cache has been disregarded, and is seemingly impossible to gain access to again.
 * If the quest is never started (for example, if decided to destroy the Railroad instead), the rebel synths on the mining floor will still be there, non-hostile, standing and doing nothing forever.
 * After detonating, some players might experience the screen fading to black and eventually will be stuck loading the next cutscene. You use the console to relocate yourself to another location with the command (in this case, Red Rocket) and continue the game. Then type  to update the Mass Fusion building cell.
 * If you dismiss a companion while in the Institute, they never return home. Tested on PC by dismissing Deacon in favor of X6-88 while in the SRB wing. After, finds him standing there in SRB.