cc cd

Change directory to a project path.

Usage

cc cd [name]

Arguments

Argument
Description

name

Environment name. If omitted, navigates to the last switched-to project.

Examples

cc cd              # go to the last switched project
cc cd acme_v18     # go to the acme_v18 environment path

Notes

cc cd with no arguments uses your switch log to find the last project you switched to — not your current working directory. This is intentional: if you're in a v17 directory but last switched to a v19 project, cc cd takes you to v19.

Last updated

Was this helpful?