> For the complete documentation index, see [llms.txt](https://docs.hello-robot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hello-robot.com/stretch4_install/docs/add_new_user.md).

# Adding a New User

## Why

If you're sharing Stretch with other developers, it can be helpful to create separate accounts for yourself and your team members. Your code and data will be password protected in your own account, and other developers can modify their own code without accidentally affecting yours.

!!! warning

```
User accounts cannot completely insulate your account from changes in another. For example, if someone attaches a new gripper or end-effector tool to the robot, your account's software would have an outdated configuration for what tool is attached to the robot. A non-exhaustive list of changes that could break/affect accounts:

  - Making hardware changes to the robot
  - Updating the firmware
  - Installing/changing [APT packages](#apt-package-manager)
```

## How

From the admin account, open a terminal and pull down the latest Stretch Install repository:

```{.bash
cd ~/stretch4_install && git pull
```

Run the new user install script and provide the new username using the `-u` flag. This will automatically create the user account (prompting for their new password), provide them admin privileges, set up their home directory, and install the new user environment:

```{.bash
./stretch_new_user_install.sh -u new_developer_name
```

Finally, log out and log back in as the new user account. Reboot the robot and run a system check to confirm everything was set up correctly.

```{.bash
stretch_system_check.py
```

Your new user account is now set up successfully!

## Manually add a new user

If you would like to manually create the new user and setup the account, you can follow the steps below:

Start by logging into the admin Hello Robot user. Go to Users system settings and unlock adminstrator actions.

![](/files/FznjMiMSLtOJA5JKiYHY)

Click "Add User..." and complete the subsequent form. The new user needs to be an administrator.

![](/files/qtFtfph02wfQd7p0cfQO)

Log out and back in as the new user. Open a terminal and execute the following to pull down the Stretch Install repository:

```{.bash
git clone https://github.com/hello-robot/stretch4_install ~/stretch4_install
```

Make sure it's up-to-date:

```{.bash
cd ~/stretch4_install && git pull
```

Run the new user install script to set up the SDK for this new account:

```{.bash
./stretch_new_user_install.sh
```

Finally, reboot the robot and run a system check in the new user account to confirm everything was set up correctly.

***

All materials are Copyright 2020-2026 by Hello Robot Inc. Hello Robot and Stretch are registered trademarks.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hello-robot.com/stretch4_install/docs/add_new_user.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
