Skip to content

Commit 5a7e589

Browse files
committed
chore(installer): use project scaffolding instructions and fix tsc version command
1 parent f705451 commit 5a7e589

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

scripts/install.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ echo ""
152152
export PATH="$INSTALL_DIR:$PATH"
153153
if command -v tsc &>/dev/null; then
154154
echo -e " ${GREEN}✓ 'tsc' command is successfully installed!${NC}"
155-
echo " Version: $(tsc --version)"
155+
echo " Version:"
156+
tsc version
156157
else
157158
echo -e " ${YELLOW}[WARN] 'tsc' binary installed but not active in current shell environment.${NC}"
158159
echo " Please restart your terminal or run: source $SHELL_RC"
@@ -166,6 +167,8 @@ echo -e "${GREEN}${BOLD} =======================================${NC}"
166167
echo -e "${GREEN}${BOLD} TechScript v2.0.0 Setup Complete! 🎉 ${NC}"
167168
echo -e "${GREEN}${BOLD} =======================================${NC}"
168169
echo ""
169-
echo " Try compiling your first program:"
170-
echo " tsc run examples/hello_world/hello.txs"
170+
echo " Create and run your first project:"
171+
echo " tsc new my_project"
172+
echo " cd my_project"
173+
echo " tsc run"
171174
echo ""

0 commit comments

Comments
 (0)