[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [upgradeHomeRam](./bitburner.singularity.upgradehomeram.md)
## Singularity.upgradeHomeRam() method
If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.
This function will upgrade amount of RAM on the player’s home computer. The cost is the same as if you were to do it manually.
This function will return true if the player’s home computer RAM is successfully upgraded, and false otherwise.
Signature:
```typescript
upgradeHomeRam(): boolean;
```
Returns:
boolean
True if the player’s home computer RAM is successfully upgraded, and false otherwise.
## Remarks
Singularity - Level 2