Command line and CLI storage
Open Kodik from a terminal
Section titled “Open Kodik from a terminal”Use kodik from a terminal where it is on your PATH. On macOS, open the Command Palette and run Shell Command: Install ‘kodik’ command in PATH first.
kodik .kodik --new-window /path/to/projectkodik --goto src/main.ts:42kodik --diff before.txt after.txtThese commands open the current directory, open a project in a new window, jump to a source line, and compare two files. Run kodik --help for the switches your installation supports. To send prompts from an extension, see the Chat commands for extensions.
Start with temporary editor data
Section titled “Start with temporary editor data”Run kodik --transient to start the editor with new temporary directories for editor data, extensions, and shared data. The command prints the three paths and a command to reopen the same temporary state later. This is useful for checking whether a problem depends on your usual settings or extensions. You can add --locale ru to open the interface in Russian when that language is available.
CLI storage
Section titled “CLI storage”The standalone launcher uses these directories for CLI state such as downloaded servers and tunnel logs.
| Launcher | Default CLI directory |
|---|---|
| Installed build | ~/.kodik/cli |
| Development build | ~/.kodik-dev/cli |
| Portable build | <portable-root>/.kodik/cli |
| Portable development build | <portable-root>/.kodik-dev/cli |
For an installed or development launcher, choose a different directory with --cli-data-dir <path> or the VSCODE_CLI_DATA_DIR environment variable. For example, check the selected launcher version with a separate CLI directory.
kodik --cli-data-dir /path/to/cli-data version showPortable launches use the absolute portable directory selected by VSCODE_PORTABLE. If the launcher says the portable media is unavailable, reconnect it and run the command again. If it reports a conflicting CLI root, remove the --cli-data-dir option or unset VSCODE_CLI_DATA_DIR.
Earlier installations
Section titled “Earlier installations”If ~/.kodik/cli is missing and ~/.vscode-cli exists, the installed launcher tries to move the old directory to ~/.kodik/cli. If the move fails, the launcher prints a warning and creates the new directory. If both directories exist, the launcher uses ~/.kodik/cli.
For supported tunnel service commands, run kodik tunnel service --help.
