Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 CLI Documentation | 2025.2

# Create a stream depot

Typically your administrator will create a stream depot for you and provide you with the depot name.

However, if you are creating a stream depot yourself, type the following:

    p4 depot -t stream depotname

The `-t` option of the p4 depot command specifies the type of depot to create, in this case a stream depot.

P4 Server opens the depot specification in an editor:

Copy

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    # A Perforce Depot Specification.
    #
    #  Depot:       The name of the depot.
    #  Owner:       The user who created this depot.
    #  Date:        The date this specification was last modified.
    #  Description: A short description of the depot (optional).
    #  Type:        Whether the depot is 'local', 'remote',
    #               'stream', 'spec', 'archive', 'tangent',
    #               or 'unload'.  Default is 'local'.
    #  Address:     Connection address (remote depots only).
    #  Suffix:      Suffix for all saved specs (spec depot only).
    #  StreamDepth: Depth for streams in this depot (stream depots only).
    #  Map:         Path translation information (must have ... in it).
    #  SpecMap:     For spec depot, which specs should be recorded (optional).
    #
    # Use 'p4 help depot' to see more about depot forms.

    Depot:          JamCode

    Owner:          bruno

    Date:           2016/02/22 13:20:06

    Description:
        Use a tab to indent any lines below the field name!

    Type:           stream

    StreamDepth:    //JamCode/1

    Map:            JamCode/...

Line 26 mentions that any lines below a field name must be indented.

Adjust the value of other fields and save the specification.

Your search for returned results