Taste Reference

Complete reference for all npx taste commands. Manage your taste packages across project, global, and remote.


CommandDescription
taste pushPush project or individual packages to remote or global
taste pullPull packages from remote or global
taste listList all available packages
taste lintValidate package format and structure
taste openOpen packages in your default editor
Info

npx taste and cmd taste are equivalent. cmd taste requires global installation (npm i -g command-code). We recommend using npx taste.


A taste package is a collection of learnings organized by category (e.g., cli, typescript, architecture). Each package contains a taste.md file with preferences and patterns Command Code has learned.

Taste packages are of three types:

Project

Project specific taste packages are automatically learned and stored in your project.

  • Path: .commandcode/taste/
  • Use case: Learnings unique to this codebase

Global

Your personal taste packages accessible across all projects on your machine. Use the -g flag to push/pull global packages.

  • Path: ~/.commandcode/taste/
  • Use case: Your personal taste that follows you across projects

Remote

Taste packages on cloud under your profile at commandcode.ai.

  • Path: commandcode.ai/username/taste
  • Use case: Team sharing, backup, sync across machines, public packages

By default npx taste push and npx taste pull interact with your remote packages.


You can either push/pull your entire project taste or individual packages.

Project Taste (push --all)

When you use push --all, Command Code pushes your entire project's taste as a single unit:

Push project taste

npx taste push --all
  • Bundles all packages from your project together
  • Project name is derived from your current directory
  • Pushed to remote under your namespace

Individual Package (push <package>)

When you push a specific package, only that single package is uploaded:

Push individual package

npx taste push cli npx taste push myorg/cli
  • Pushes one package at a time
  • You choose the namespace (personal or organization)
  • Great for sharing specific learnings with others

Share your project taste with the team

1

Push your project taste

Push all your project's learnings to remote.

Push project

npx taste push --all
2

Team members pull

Others can pull the project taste to their local setup.

Pull from remote

npx taste pull username/project-name

Use your taste across projects (via global)

1

Push to global

Save a package to your global for use in any project.

Push to global

npx taste push cli -g
2

Pull in another project

In a different project, pull from global.

Pull from global

npx taste pull cli -g

Backup and sync via remote

1

Push to your profile

Back up your taste to commandcode.ai.

Push to remote

npx taste push --all
2

Access from anywhere

Pull your taste on any machine.

Pull from remote

npx taste pull username/project-name

Project packages

your-project/ └── .commandcode/ └── taste/ ├── taste.md # Main taste file ├── cli/ │ └── taste.md # CLI-specific learnings ├── typescript/ │ └── taste.md # TypeScript preferences └── architecture/ └── taste.md # Architecture patterns

Global packages

~/.commandcode/ └── taste/ ├── cli/ │ └── taste.md ├── react/ │ └── taste.md └── testing/ └── taste.md